on 06-18-2020 9:02 AM
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().
jQuery.sap.registerModulePath("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
https://flpnwc-c910xxxxx.dispatcher.ap1.hana.ondemand.com/sap/fiori/parentapp/childApp/manifest.json
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.
Hi, I’m don’t exactly know what goes wrong but I know working with components has been improved in the latest versions of ui5. I’m working with reusable components in an on premise app. Here I have to use the path and namespace to find the app dynamic. Depending on your use case you can also predefine the components you need in the manifest. Check this link for all possible options: https://ui5.sap.com/#/topic/346599f0890d4dfaaa11c6b4ffa96312
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.