Quantcast
Channel: SCN : Discussion List - SAP Fiori
Viewing all articles
Browse latest Browse all 1804

Fiori App Extension Error

$
0
0

Hi

 

I am trying to extend 'Track Purchase Order' app. I have followed below steps:

 

1) I downloaded the mm_purord_tpo project and imported it in SAPUI5 project in eclipse

2) Then I created a FIORI extension project

3) Then I modified the Component.js file

     I declared "zui.s2p.mm.purord.tracking.Component"

    

sap.ui.component.load({

  name: "ui.s2p.mm.purord.tracking", 

  url: jQuery.sap.getModulePath("zui.s2p.mm.purord.tracking") + "/../MM_PURORD_TPO" // provide parent project url

  // we use a URL relative to our own component; might be different if

  // extension app is deployed with customer namespace

});

 

4) Then I deployed the project on Gateway server.

5) I integrated the extended project in FIORI Launchpad by creating semantic object. In LPD_CUST I created 'launchpad instance' and specified the extended app URL and defined 'application alias', which will be used while configuring tile in launchpad admin. I specified SAPUI5.Component as  'zui.s2p.mm.purord.tracking'.

 

When I am launching the extended app from FIORI Launchpad I am getting popup "Could not start the app due to an internal error"

 

2014-10-08 19:18:46 Error - found in negative cache: 'zui/s2p/mm/purord/tracking/Component.js' from /sap/bc/ui5_ui5/sap/z_mm_purord_tpo/Component.js: Error: failed to load 'ui/s2p/mm/purord/tracking/Component.js' from ../../resources/ui/s2p/mm/purord/tracking/z_mm_purord_tpo/../{parent project url}/Component.js: 404 - NOT FOUND  core-min-0.js:85

2014-10-08 19:18:46 Could not start the app due to an internal error -

 

Any idea why it's happening?

 

Regards

Mandeep Singh


Viewing all articles
Browse latest Browse all 1804

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>