Skip to Content

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

Component.js 404 error when executing from launchpad

Hi All,

I have a custom Fiori App deployed to Fiori Launchpad. When i click on the tile I get the 404 not found error for Component.js. I have checked SICF node , invalidated all caches but still the problem perists. (The app is working fine without launchpad through the URL directly)

Folder Structure and Component.js contents


Amber, I can see that the component.js path that is called by the app is wrong.

It should call

../sap/bc/ui5_ui5/sap/zarticle_viewer/Component.js . Rather it is calling relative to the Fiori Launchpad. You can try this in browser and test.

In Index.html, there is 'resourceroots' parameter which sets this right.

You might have to research around these pointers. You do not require WebContent in the URL, so please remove it.

Can you try by making the component name start with lowercase? like artViewer.Component.js ? Just a hunch. (You need to change in lpd_cust as well).

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