on 2021 Jun 03 7:13 AM
I've started developing a multitenant CAP app with a UI5 module and the following services: Portal, HTML5 repo, SAP Theming and UI5 Flexibility.
I have the following handler for GET dependencies:
const xsenv = require("@sap/xsenv");
const services = xsenv.getServices({
portal: {tag: "portal"},
flexibility: {tag: "flex-keyuser"},
theming: {tag: "sap-theming"}
});
module.exports = (service) => {
service.on("dependencies", (req) => {
const dependencies = [
{
appId: services.portal.uaa.xsappname,
appName: "portal"
},
{
appId: services.theming.uaa.xsappname,
appName: "theming"
},
{
appId: services.flexibility.uaa.xsappname,
appName: "ui5-flexibility-keyuser"
}
];
return dependencies;
});
};
And these are my current versions:
I understood from this blog they are reuse services and saw this question about the topic, but have not found any source which documents how to do this.
Any help, suggestion, information, documentation on this would be highly appreciated!
Thank you!
User | Count |
---|---|
62 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.