cancel
Showing results for 
Search instead for 
Did you mean: 

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

vickyokrm
Participant

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:

jQuery.sap.registerModulePath("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.

Accepted Solutions (0)

Answers (1)

Answers (1)

matheus_brasil
Explorer
0 Kudos

Were you able to overcome this problem? Could you explain how?