Skip to Content
Jun 18, 2020 at 08:02 AM

sap.ui.getCore().createComponent fails with sap ui5 version 1.72


Hi Experts,

We have 2 sapui5 apps deployed onto Fiori launchpad that's running on version 1.44.

1. parentapp

2. childapp

The parent app loads the child component using sap.ui.getCore().createComponent()."com.test.childApp", "/childApp"); 
//Load the child component 
var comp = sap.ui.getCore().createComponent({ 
                  name: "com.test.childApp",
                  url: "com.test.childApp", 
                  id: "com.test.childApp"

The manifest.json for the child loads correctly when triggered from parent app on Fiori Launchpad version 1.44.

We are in the process of updating our Fiori launchpad version to 1.72 and this bit of code is erroring out since the manifest file path comes back as 404 not found.

The URL for the manifest.json in the child App when triggered from the parent app in v1.72 is as below:

while in 1.44, the URL for loading the manifest.json, the URL path was being resolved to

Not sure why the manifest.json path is not being resolved correctly in the upgraded version.

Any help on this is really appreciated.

Thanks in advance.