on 2022 May 12 10:53 AM
Hello Experts,
In my odata v4 Fiori Elements project I would like to switch the PresentationVariant (or really just the SortOrder) of an annotated Table during runtime. This is available for SelectionVariants as described here, and for tables in multiple view mode using a SelectionPresentationVariant as described here. Is it possible to achieve similar functionality using only the PresentationVariant?
Best regards,
Jibbril
Request clarification before answering.
Here is the answer that you are looking for
https://github.com/SAP-samples/abap-platform-fiori-feature-showcase/blob/main/06_object_page_content...
child entity:
@UI.presentationVariant: [ { qualifier: 'pVariant', maxItems: 5, sortOrder: [ { by: 'StringProperty', direction: #DESC } ], visualizations: [{type: #AS_LINEITEM}] } ]
parent entity:
// Search Term #OPTable, #PresentationVariant-Child @UI.facet: [ { purpose: #STANDARD, type: #PRESENTATIONVARIANT_REFERENCE, targetElement: '_Child', targetQualifier: 'pVariant', label: 'Child Entity (1..n)(#OPTable)', id: 'childEntitiesSection' } ]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
22 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.