Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bookshop/db/schema.cds
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using { Currency, managed, sap } from '@sap/cds/common';
using { Currency, managed, sap, extensible } from '@sap/cds/common';
namespace sap.capire.bookshop;

entity Books : managed {
entity Books : managed, extensible {
key ID : Integer;
title : localized String(111);
descr : localized String(1111);
Expand All @@ -13,7 +13,7 @@ entity Books : managed {
image : LargeBinary @Core.MediaType : 'image/png';
}

entity Authors : managed {
entity Authors : managed, extensible {
key ID : Integer;
name : String(111);
dateOfBirth : Date;
Expand Down
4 changes: 4 additions & 0 deletions fiori/app/admin-authors/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
}
},
"sap.ui5": {
"flexEnabled": true,
"config": {
"experimentalCAPScenario": true
},
"dependencies": {
"minUI5Version": "1.81.0",
"libs": {
Expand Down
4 changes: 4 additions & 0 deletions fiori/app/admin-books/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
}
},
"sap.ui5": {
"flexEnabled": true,
"config": {
"experimentalCAPScenario": true
},
"dependencies": {
"libs": {
"sap.fe.templates": {}
Expand Down
25 changes: 22 additions & 3 deletions fiori/app/fiori-apps.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,21 @@
<script>
window["sap-ushell-config"] = {
defaultRenderer: "fiori2",
applications: {}
applications: {},
bootstrapPlugins: {
RuntimeAuthoringPlugin: {
component: "sap.ushell.plugins.rta",
config: {
validateAppVersion: false,
},
},
PersonalizePlugin: {
component: "sap.ushell.plugins.rta-personalize",
config: {
validateAppVersion: false,
},
},
}
};
</script>

Expand All @@ -22,8 +36,13 @@
data-sap-ui-frameOptions="allow"
></script>
<script>
sap.ui.getCore().attachInit(()=> sap.ushell.Container.createRenderer().placeAt("content"))
</script>
sap.ui.getCore().attachInit(()=> sap.ushell.Container.createRenderer().placeAt("content"));
sap.ui
.getCore()
.getConfiguration()
.setFlexibilityServices([{ connector: "SessionStorageConnector" }]);
sap.ui.getCore().getConfiguration().setLanguage("en");
</script>

</head>
<body class="sapUiBody" id="content"></body>
Expand Down
3 changes: 3 additions & 0 deletions fiori/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
},
"cds": {
"requires": {
"extensibility": {
"kind": "uiflex"
},
"auth": {
"strategy": "dummy"
},
Expand Down