Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8695

Error while loading JS libraries for UI5 and I5 Grid together

$
0
0

Hello Experts,

I am trying to load JavaScript libaries for UI5 (OpenUI5 SDK) and I5 Grid (from bootstrap.js).

 

My requirement is to create UI5 as well as I5 Chart/Grid components in the IRPT pages.

 

Development environment is MII 14.0 sp04 .

 

I have added a JS link for my UI5 library as follows, in my IRPT page.

 

 

 

  <script src="/XMII/CM/DCMS_Master/UI5Library-1.22.8/resources/sap-ui-core.js"

  id="sap-ui-bootstrap"

  data-sap-ui-libs="sap.m, sap.ui.table, sap.ui.commons"

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

  <script>

   sap.ui.localResources("/XMII/CM/DCMS_Master/UI5Library-1.22.8/resources");

  </script>

 

Afer this Include, I have loaded the I5 component JS library like this:

 

<SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid"></SCRIPT>

 

 

However, I get an error on the console as follows   

 

Failed to load resource: the server responded with a status of 404 (Not Found)                                            

<MII Server Host>:50000/XMII/CM/DCMS_Master/UI5Library-1.22.8/resources/JSONListBinding.js

 

 

Uncaught Error: found in negative cache: 'sap/ui/model/json/JSONModel.js' from /XMII/CM/DCMS_Master/UI5Library-1.22.8/resources/sap/ui/core/library-preload.json/sap/ui/model/json/JSONModel.js: Error: failed to load 'JSONListBinding.js' from /XMII/CM/DCMS_Master/UI5Library-1.22.8/resources/JSONListBinding.js: 404 - Not Found                                    sap-ui-core.js:80

 

 

Uncaught Error: "Element sap.ui.commons.layout.MatrixLayout#matrix4" is not valid for aggregation "content" of ManagedObject sap.ui.core.UIArea#headerSelection                                                                                                                         sap-ui-core.js:134

 

 

 

Does that mean that I5 JS libs and UI5 libs cannot be imported together?

 

 

Any help will be appreciated.

 

 

Best,

Arihant Kothari


Viewing all articles
Browse latest Browse all 8695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>