Repo Address
https://github.com/SAP-samples/cloud-cap-samples-java
Basic Folder Structure of Project

What is behind "mvn spring-boot run" ?
app/index.cds,db/index.cds will be totally compiled.
What is the basic layout of app ?
It is the card component. Url is only the key path for the embedded path ("/browse/webapp"). Sample codes are below.
window["sap-ushell-config"] = {
defaultRenderer: "fiori2",
applications: {
"browse-books": {
title: "Browse Books",
description: "Find your favorite book",
additionalInformation: "SAPUI5.Component=bookshop",
applicationType : "URL",
url: "/browse/webapp",
navigationMode: "embedded"
},
"manage-reviews": {
title: "Manage Reviews",
description: "Add/edit/delete reviews",
additionalInformation: "SAPUI5.Component=reviews",
applicationType: "URL",
url: "/reviews/webapp",
navigationMode: "embedded"
}
}
};
网友评论