Skip to Content
Dec 07, 2021 at 08:55 PM

Nested UI5 application on BTP Launchpad was not accessible from calling UI5 application

641 Views Last edit Dec 08, 2021 at 10:51 AM 5 rev

The UI5 application defined via "componentUsages" application in the manifest.json could not be accessed from the host UI5 application. This issue occurs because of the following reasons:

1) The url of nested application was resolved against the resources path instead of to the host btp url.

- This issue was resolved by registering the path of the nested component explicitly using:"uploaddocuments", "/uploaddocuments.uploaddocuments");

2) Even after the path registration, the nested application was not reachable because the nested application deployed on BTP with 'instance' level destination has a guid prefix in its url and the calling/host app is not aware of this prefix. Therefore the url of nested application is still incorrect.

- This was solved by deploying the nested application with 'subaccount' level destination by which the prefix guid can be avoided.(This is not recommended by SAP)

Is it possbile to solve this problem without all these workarounds?

P.S: This nested component usage was possible in the neo launchpad without any workarounds.