Hello,in case of having draft-enabled CAP entities with several key fields, I like to use localized modifier due to get the auto-generated .text entities for localized titles and descriptions.I have figured out that you get only one key field in dra...
Hello,I'm just working on a Fiori app with draft enabled CAP entity and listreport . If I press the standard "create" button, I like to prefill my only one existing key field of type integer and not of type UUID. Currently, a dialog popup over is ask...
Hello,I like to simply display the draft edit status in Fiori listreport of a draft-enabled entity like in document https://sapui5.hana.ondemand.com/sdk/#/topic/668ea184f58c4378a5394f54b4ae205d .Is there a manifest setting to switch on the draft edit...
Hello CAP and Typescript experts,I have defined an draft-enabled entity with additional computed fields as follows: entity BaseSystemTypes : managed {
@title: '{i18n>Paltr_SystemTypes_ID_label}'
key ID : types.SystemType;
...
Hello,I'm struggling with getting the current cds entity name once the READ request is processed: let AvailEntities: cds.entity[] = [SystemKinds, SystemKinds.drafts];
srv.after('READ', AvailEntities, async (req) => {
// Here, I like to s...
Your given solution is for java. I have found now a solution with CAP Node.js. I extend my CDS model with a function "getSystemTypesDefaults" and use the Common.DefautValuesFunction annotation approach.CDS definition: service AdminConfigurationServ...
Hello guys,is it possible in CAP to create custom validation rules in combination with custom annotation based validations to check user input, e.g. if a field should be validated that the given value has a certain length and consists only of upper c...