From 08ec0c7d0d80319da960ad97007772766c67ef5c Mon Sep 17 00:00:00 2001 From: nkaputnik Date: Fri, 1 Oct 2021 14:07:10 +0200 Subject: [PATCH] Added fiori configuration for UIFlex enablement --- fiori/app/admin-fiori.html | 27 ++++++++++++++++--- fiori/app/admin/webapp/manifest.json | 1 + fiori/app/browse/webapp/manifest.json | 1 + orders/app/fiori-app.html | 37 +++++++++++++++++++------- orders/app/orders/webapp/manifest.json | 1 + 5 files changed, 54 insertions(+), 13 deletions(-) diff --git a/fiori/app/admin-fiori.html b/fiori/app/admin-fiori.html index 6c229e6b..aa455310 100644 --- a/fiori/app/admin-fiori.html +++ b/fiori/app/admin-fiori.html @@ -35,19 +35,38 @@ url: "/orders/webapp", navigationMode: "embedded" } - } + }, + bootstrapPlugins: { + RuntimeAuthoringPlugin: { + component: "sap.ushell.plugins.rta", + config: { + validateAppVersion: false, + }, + }, + PersonalizePlugin: { + component: "sap.ushell.plugins.rta-personalize", + config: { + validateAppVersion: false, + }, + }, + }, }; - - + diff --git a/fiori/app/admin/webapp/manifest.json b/fiori/app/admin/webapp/manifest.json index 25047c29..92d7cc7a 100644 --- a/fiori/app/admin/webapp/manifest.json +++ b/fiori/app/admin/webapp/manifest.json @@ -22,6 +22,7 @@ } }, "sap.ui5": { + "flexEnabled": true, "dependencies": { "libs": { "sap.fe.templates": {} diff --git a/fiori/app/browse/webapp/manifest.json b/fiori/app/browse/webapp/manifest.json index 4a2e0a62..d89cc77c 100644 --- a/fiori/app/browse/webapp/manifest.json +++ b/fiori/app/browse/webapp/manifest.json @@ -22,6 +22,7 @@ } }, "sap.ui5": { + "flexEnabled": true, "dependencies": { "libs": { "sap.fe.templates": {} diff --git a/orders/app/fiori-app.html b/orders/app/fiori-app.html index 3f1640fe..7276dc71 100644 --- a/orders/app/fiori-app.html +++ b/orders/app/fiori-app.html @@ -19,19 +19,38 @@ url: "/orders/webapp", navigationMode: "embedded" } - } + }, + bootstrapPlugins: { + RuntimeAuthoringPlugin: { + component: "sap.ushell.plugins.rta", + config: { + validateAppVersion: false, + }, + }, + PersonalizePlugin: { + component: "sap.ushell.plugins.rta-personalize", + config: { + validateAppVersion: false, + }, + }, + }, }; - - + + diff --git a/orders/app/orders/webapp/manifest.json b/orders/app/orders/webapp/manifest.json index 045fa70a..7fa112de 100644 --- a/orders/app/orders/webapp/manifest.json +++ b/orders/app/orders/webapp/manifest.json @@ -22,6 +22,7 @@ } }, "sap.ui5": { + "flexEnabled": true, "dependencies": { "libs": { "sap.fe.templates": {}