Skip to content
Merged
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: 2 additions & 4 deletions cap-notebook/demoapp/srv/attachment-extension.cds
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ using {sap,managed,sap.common.CodeList} from '@sap/cds/common';

extend entity Books with {
attachments : Composition of many Attachments @SDM.Attachments:{maxCount: 4, maxCountError:'Only 4 attachments allowed.'};
references : Composition of many Attachments @SDM.attachments:{maxCount: 2, maxCountError:'Only 2 attachments allowed.'};
footnotes : Composition of many Attachments;
}

extend entity Notebooks with {
attachments : Composition of many Attachments @SDM.Attachments:{maxCount: 4, maxCountError:'Only 4 attachments allowed.'};
references : Composition of many Attachments @SDM.attachments:{maxCount: 2, maxCountError:'Only 2 attachments allowed.'};
footnotes : Composition of many Attachments;

}
entity Statuses @cds.autoexpose @readonly {
key code : StatusCode;
Expand Down
Loading