Integrate Fiori app in HCP Fiori Site
I deployed a fiori app in HCP and it runs fine.I created a tile for the app in the fiori launchpad site.When i open the tile it throws a dump "Could not open app.Try again later".
As per my understanding the component name,URL,application name are all correct.The error log in the chrome console is as below:
2015-07-08 16:05:18 Application initialization failed due to an Exception:
Error: found in negative cache: 'Z_Material_List_App/Component.js' from /sap/fiori/zmateriallistapp/Component.js: Error: failed to load 'f_fiori/MyRouter.js' from /sap/ui5/1/resources/fisker_fiori/MyRouter.
Ido Shemesh replied
In this case - the service end point is - http://services.odata.org/V3/Northwind/Northwind.svc
Your destination file named northwind refers to - http://services.odata.org
The service URL in the Component.js should refer to the remaining (relative ) path, like this:
serviceUrl: jQuery.sap.getModulePath(<application name>) + "/destinations/northwind/V3/Northwind/Northwind.svc/"
(notice - once you add the modulePath it will only work when running from FLP)
In the neo-app.json:
"path": "/destinations/northwind ,
"description": "Some description"