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...
Hello,I'm using CAP with typescript and I have defined a draft-enabled entity SystemKinds. Cds-Typer is installed and Typescript types will be generated and updated each time I change my entity definition.If I send a GET request with SystemKinds , I ...
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...
Yes, you are right: const draftData = await SELECT.from(SystemKinds.drafts);is giving me all properties of my entity SystemKinds plus property "HasActiveEntity" and "DraftAdministrativeData_draftUUID" of table AdminConfigServices_SystemKinds_drafts b...
Inside the cds-ts-ps1 file, I commented the assignment of $exe=".exe" (row 8 in my version) and then it works. I don't need any npx commands as an alternative..