cancel
Showing results for 
Search instead for 
Did you mean: 

'metadataLoaded' of undefined" on Fiori Launchpad

0 Kudos

Hi,

We are developing UI5 application on 1.38.7  library, but my backend UI5 library is at 1.28.3. Currently I am facing issue while deploying app on fiori launchpad. It gives " Cannot read property 'metadataLoaded' of undefined" error.

I checked with 1.28.3 version for ui5 development and was able to run app from fiori launchpad. So I guess because of version mismatch I am not able to run on launchpad.

Could you please suggest which gateway UI5 version is compatible for 1.38.7 UI5 library on app.

Thank for your support.

View Entire Topic
karthikarjun
Active Contributor
0 Kudos

Hi Magesh- u can use the direct library url from SAP UI5 apps.

Link:

<script src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js"

  id="sap-ui-bootstrap"

  data-sap-ui-libs="sap.m"

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

  </script>

Regards,

Karthik A

Former Member
0 Kudos

Karthik A,

Please read the comments before posting exactly the same...

"

Refering the Ui5 libraries from CDN  in index.html src tag will also work but goes against the best practices and should not be done.

When working on a slower internet connection your app will be horrendously slow.

It's best practise to load the correct libs into the frontend server (= have correct SAP_UI component version).

"

Best Regards

Jonathan Belliot.

karthikarjun
Active Contributor
0 Kudos

Yes I agree!!!.