Skip to content

Commit

Permalink
for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mofterdinger committed Oct 10, 2024
1 parent cdcd3b2 commit 95a2c87
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/fiori.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
};
</script>

<script id="sap-ushell-bootstrap" src="https://sapui5.hana.ondemand.com/1.126.2/test-resources/sap/ushell/bootstrap/sandbox.js"></script>
<script id="sap-ui-bootstrap" src="https://sapui5.hana.ondemand.com/1.126.2/resources/sap-ui-core.js"
<script id="sap-ushell-bootstrap" src="https://sapui5.hana.ondemand.com/1.129.0/test-resources/sap/ushell/bootstrap/sandbox.js"></script>
<script id="sap-ui-bootstrap" src="https://sapui5.hana.ondemand.com/1.129.0/resources/sap-ui-core.js"
data-sap-ui-libs="sap.m, sap.ushell, sap.collaboration, sap.ui.layout"
data-sap-ui-compatVersion="edge"
data-sap-ui-theme="sap_horizon"
Expand Down
12 changes: 12 additions & 0 deletions db/books.cds
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ entity Books : cuid, managed {
covers : Composition of many Attachments;
}

annotate Attachments with @UI: {
LineItem : [
{Value: content},
{Value: status},
{Value: createdAt},
{Value: createdBy},
{Value: note},
{Value: fileName}
]
} {
}

entity Authors : cuid, managed {
@assert.format : '^\p{Lu}.*' // assert that name starts with a capital letter
name : String(111);
Expand Down

0 comments on commit 95a2c87

Please sign in to comment.