‎2025 Oct 29 1:21 PM - edited ‎2025 Oct 30 6:38 AM
Hello everyone,
I have a FPM project with first view containing macros Filterbar und Table.
The table displays the data, but ignores the CDS Annotation SortOrder from the PresentationVarian:
.presentationVariant: [{
qualifier: 'DefaultSorter',
sortOrder: [{ by: 'ManufacturingOrder', direction: #DESC }],
visualizations: [{type: #AS_LINEITEM }]
}]I even added the property to the manifest file:
"defaultTemplateAnnotationPath": "com.sap.vocabularies.UI.v1.PresentationVariant#DefaultSorter",
I can see in the oData metadata the annotation is present.
I am currently using the 1.120.0 version, but the same result is with 1.141.3
Is there any additional property expected by the macros table? In the API Dokumentation it is written :
Usually, a LineItem, PresentationVariant, or SelectionPresentationVariant annotation is expected, but the Table building block can also be used to display an EntitySet.
If a PresentationVariant is specified, then it must have UI.LineItem as the first property of the Visualizations.
Thanks for you help!
Request clarification before answering.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.