cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to load UI5 component for navigation intent "

former_member592579
Discoverer
0 Kudos

Hello experts,

When I try to publish the app on SAP Cloud platform, I deleted the mock data and added following codes in respective fields.

1. component.js

//initialize mockserver in

"com/sap/build/standard/finalAssessment/localService/mockserver"

], function (UIComponent, Device, models, ListSelector, errorHandling, mockserver)


//calling metadata before the app loads

var oModel = new sap.ui.model.odata.v2.OdataModel({serviceUrl: "/destinations/service/"});

this.setModel(oModel);

2. manifest.json

"dataSources":

{ "main": {

"uri": "/destinations/service/",

I deleted following codes.

"": { "dataSource": "local",

"type": "sap.ui.model.odata.v2.ODataModel",

"preload": true, 6. "settings": {

"loadMetadataAsync": false,

"json": true, 9. "bJSON": true,

"defaultBindingMode": "TwoWay",

"defaultCountMode": "Inline",

"useBatch": true,

"refreshAfterChange": false,

"disableHeadRequestForToken": true

}

}

After that, I saved everything and tried to run the app with testFLPService.htm. It is not running. Error message pops up says "

App could not be opened because the SAP UI5 component of the application could not be loaded.Failed to load UI5 component for navigation intent "#BUILD-prototype"


Any suggestions to this problem is heartily welcome. Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

mnaghizadeh
Explorer
0 Kudos

Activate the APP Node on SICF( node Name is same as App)