cancel
Showing results for 
Search instead for 
Did you mean: 

Using SAP UI5 Inbox Element - 404 Resource not found

Former Member
0 Kudos

Hi,

I am trying to use SAP UI5 Inbox Element and getting error 404 resource not found. Below is the screenshot for reference.

I have already followed the instruction without any success. I have included the library in bootstrap as below -


<script src="resources/sap-ui-core.js"

  id="sap-ui-bootstrap"

  data-sap-ui-libs="sap.ui.commons,sap.uiext.inbox"

  data-sap-ui-theme="sap_bluecrystal">

  </script>

and trying to create inbox object as per the sap ui5 demokit as below -


var locale = 'en';

  var inx = new sap.uiext.inbox.Inbox();

  inx.setHandleBindings(false);

I would really appreciate if any pointer or suggestion where I am doing it wrong?

Thanks & Regards

Jeet

Accepted Solutions (0)

Answers (1)

Answers (1)

SandipAgarwalla
Active Contributor
0 Kudos

looks like the version of ui5 you have does not have the inbox js libraries..

try updating the version..

Former Member
0 Kudos

Hi Sandip,

Thanks for the response, I am using the latest version of SAPUI5 SDK i.e 1.22.8 can you suggest which version contents the inbox js libraries and which UI5 SDK version should I use. I am attaching screenshot of version details for your reference -

Thanks & Regards

Jeet

SandipAgarwalla
Active Contributor
0 Kudos

Well, the library containing the inbox is sap.uiext.inbox.Inbox.js , not sap.uiext.inbox.js

Modify   data-sap-ui-libs="sap.ui.commons,sap.uiext.inbox"  to

  data-sap-ui-libs="sap.ui.commons,sap.uiext.inbox.Inbox"