on ‎2023 Nov 08 11:20 AM
Hi all,
after transitioning to the BTP Workzone, we are encountering challenges in reusing external UI5 apps as components. All apps are deployed on BTP using the managed App Router and are part of SAP Workzone / SAP Launchpad. The path includes an ID that varies across the respective stages/subaccounts.
Im loading the other component in Component.js in the consumer App:
sap.ui.loader.config({
paths: {
"externalAppToReuse": "/[app-id].comcompanydepartmentproduct.externalAppToReuse"
}
});
sap.ui.require("externalAppToReuse.Component");
The [app-id] is a string that varies across the respective stages/subaccounts. How can I reference the correct app without relying on a static ID in the code?
Is there a way with destinations or over the XS-app.json? How would I do that?
Thanks an regards,
Martin
Request clarification before answering.
Hi martin_zaman ,
Did this issue got resolved ??? I am also facing the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.