cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CAP - PresentationVariant does not react

Schiller
Explorer
1,445

Hi,

I tried to give my list report a standard output today. But somehow the annotation does not react. I defined MaxItems and SortOrder but when my Fiori Elements app calls the service it nothing happens.

@sap/cds-dk: 1.4.2 @sap/cds: 3.21.1 @sap/cds-compiler: 1.21.1 @sap/cds-foss: 1.1.0 @sap/cds-messaging: 1.5.0 @sap/cds-reflect: 2.9.1 @sap/cds-rest: 1.3.0 @sap/cds-services: 1.22.0 @sap/generator-cds: 2.11.1 Node.js: v12.14.1

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
SAP Mentor
SAP Mentor
0 Likes

Hi Andreas,

I've found a solution in the Updated SAPUI5 documentation:

Defining the Default Sort Order

Best regards
Gregor

Schiller
Explorer
0 Likes

Thank you!!!

Cool that the UI5 docs now describe the CDS annotations. That's good to know.

Answers (0)