Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Integrate Fiori app in HCP Fiori Site

Hi,

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.

Please guide.

Regards

Radhika

Tags:
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 ,

      "target": {

        "type": "destination",

        "name": northwind

      },

      "description": "Some description"

    },

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question