cancel
Showing results for 
Search instead for 
Did you mean: 

Register/Access IoT-Application created with template in SAP Fiori Launchpad

0 Kudos

Hello,

I would like to register my IoT-Application (Freestyle IoT-Application, IoT-Application-Template) to a SAP Fiori Launchpad.

The following error will be displayed:

Failed to load UI5 component for navigation intent #test-Display - Error: failed to load 'sap/ui/iot/library.js' from https://sapui5.hana.ondemand.com/1.56.11/resources/sap/ui/iot/library.js: 404 -  sap.ushell.renderers.fiori2.Shell.controller  @ core-min-1.js:44
core-min-1.js:44 


App kann nicht geöffnet werden. Bitte versuchen Sie es später erneut. - 
c @ core-min-1.js:44

How could i solve this error?

What do I need to change to register/access the IoT-Application sucessfull in Fiori-Launchpad, if I take an IoT-template (Freestyle or IoT-Application?

Thanks,

Lukas

Accepted Solutions (0)

Answers (1)

Answers (1)

satyendra_dhar
Active Participant

Hello Lukas,

To run the any UI5 application in the FLP you need to adopt the resource path. This is mentioned in the FLP documentation.

Please adopt your neo-json accordingly.

{

"path": "/sap/ui5/1/resources/sap/ui/iot",

"target": {

"type": "destination",

"name": "IOTAS_CONTROLS"

},

"description": "IoT UI Controls library"

}

Regards,

Satyendra.

0 Kudos

Hello Satyendra,

I get following error if I register my IoT-App at the FLP again, if I configure the ressource at neo-app.json.

What do I need to configure in my neo-app.json and in my Component.js to get the application started at FLP?.

I use the IoT-Freestyle template.

Regards,

Lukas

Fehler in Anwendungsabhängigkeit 'sap.ui.iot': 'Keinen Deskriptoren gefunden' -  iotapp
failed to load Javascript resource: sap/ui/iot/library-preload.js - sap.ui.ModuleSystem failed to load 'sap/ui/iot/library-preload.js' (script load error), falling back to library-preload.json failed to load 'https://sapui5.hana.ondemand.com/1.56.11/resources/sap/ui/iot/library-preload.json' The issue is most likely caused by application iotapp. Please create a support incident and assign it to the support component of the respective application. - Failed to load UI5 component with properties: '{ "name": "iotapp", "url": "/sap/fiori/bookcaseiot/", "manifest": "/sap/bc/lrep/content/~1542045091361~/apps/iotapp/app/abfadd836/bookcaseiot/sv/1.0.16/manifest.appdescr", "self": { "name": "iotapp", "url": "/bookcaseiot/" }, "asyncHints": { "libs": [ { "name": "sap.m", "lazy": false }, { "name": "sap.ui.unified", "lazy": true }, { "name": "sap.ui.layout", "lazy": false }, { "name": "sap.ui.vbm", "lazy": false }, { "name": "sap.ui.commons", "lazy": true }, { "name": "sap.ui.iot", "lazy": false } ], "components": [], "requests": [ { "name": "$sap.ui.fl.changes", "reference": "iotapp.Component", "version": { "major": 1, "minor": 0, "patch": 0 } } ], "preloadBundles": [ "sap/fiori/core-ext-light-0.js", "sap/fiori/core-ext-light-1.js", "sap/fiori/core-ext-light-2.js", "sap/fiori/core-ext-light-3.js" ], "waitFor": [] }, "version": { "major": 1, "minor": 0, "patch": 0 }, "messages": [ { "severity": "error", "text": "App 'iotapp' enthält Fehler und wird möglicherweise nicht richtig ausgeführt" }, { "severity": "error", "text": "Fehler in Anwendungsabhängigkeit 'sap.ui.iot': 'Keinen Deskriptoren gefunden'" } ], "technology": "UI5", "html5AppName": "bookcaseiot", "siteId": "8ecdb9de-45ea-4346-9e2f-2af97c0f0120", "appId": "9d41a0cd-2ef8-4881-ae3f-e78ca92bbfb8", "id": "application-deployer-Display-component", "componentData": { "startupParameters": { "hcpApplicationId": [ "8ecdb9de-45ea-4346-9e2f-2af97c0f0120:9d41a0cd-2ef8-4881-ae3f-e78ca92bbfb8" ] }, "technicalParameters": {} }, "async": true }'. Error likely caused by: Error: failed to load 'sap/ui/iot/library.js' from https://sapui5.hana.ondemand.com/1.56.11/resources/sap/ui/iot/library.js: 404 - at makeNestedError (https://sapui5.hana.ondemand.com/1.56.11/resources/sap/fiori/core-min-0.js:68:6864) at requireModule (https://sapui5.hana.ondemand.com/1.56.11/resources/sap/fiori/core-min-0.js:68:12307) at requireAll (https://sapui5.hana.ondemand.com/1.56.11/resources/sap/fiori/core-min-0.js:68:14993) at Object.r [as require] (https://sapui5.hana.ondemand.com/1.56.11/resources/sap/fiori/core-min-0.js:68:17912) at https://sapui5.hana.ondemand.com/1.56.11/resources/sap/fiori/core-min-2.js:48:20498 at new Promise (<anonymous>) at v (https://sapui5.hana.ondemand.com/1.56.11/resources/sap/fiori/core-min-2.js:48:20465) Log-dbg.js:414 2018-11-12 18:52:20.584899 Failed to load UI5 component for navigation intent #deployer-Display - Error: failed to load 'sap/ui/iot/library.js' from https://sapui5.hana.ondemand.com/1.56.11/resources/sap/ui/iot/library.js: 404 - sap.ushell.renderers.fiori2.Shell.controller Log-dbg.js:414 2018-11-12 18:52:20.588000 App kann nicht geöffnet werden. Bitte versuchen Sie es später erneut. -