2024 Oct 01 9:43 AM - edited 2024 Oct 01 10:02 AM
We have a use case where the same UI5 apps are to be integrated in various FLPs (each belonging to a different tenant). The app logic is mostly the same for each tenant, but there are some slight custom logic for some tenants.
Is there a way we could get the tenants to add an identifier to their FLP, so that in our UI5 apps, we are able to get this property and use it to run our tenant-specific logic?
Request clarification before answering.
You have some possibilities:
I would recommend the last two options in case this is a multitenant application. I also recommend to put the tenant specific login in the CAP layer and not the UI.
To get the tenant information through a CAP service: https://cap.cloud.sap/docs/releases/jun24#fixed-req-user-tenant
CAP Feature toggles: https://cap.cloud.sap/docs/guides/extensibility/feature-toggles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using Work Zone? In that case you can create a FLP plugin and share a string using iframe postmessage https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
Work Zone uses iframes to load applications, iframe communication helps you to pass something from a plugin (on root level) with the applications.
User | Count |
---|---|
31 | |
10 | |
6 | |
6 | |
6 | |
6 | |
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.