cancel
Showing results for 
Search instead for 
Did you mean: 

RAP: SmartFilterBar Filter MultiComboBox Field Ordering

axel_brke3
Participant
0 Kudos
339

Hi, we are using a SmartFilterBar with a RAP Backend Service. 

This is the Annotation of the Field

 

 @Consumption: {
    valueHelpDefinition: [ { entity: { name: '/LUNEH/FR_CI_DFLST_INV_STAT_VH', element: 'Status' }, distinctValues: true } ],
    filter: { multipleSelections: true, selectionType: #SINGLE, hidden: false }
    }
    .fieldGroup: [{label: 'Status'}]
    @EndUserText.label: 'Status'  
    Status; 

 

Currently they are sorted alphabetically. We would like to sort the entries in a different order. Can I somehow do this without implementing a Custom Field?

 

View Entire Topic
junwu
Active Contributor
0 Kudos

check if this helps

junwu_0-1722963575980.png

 

axel_brke3
Participant
0 Kudos
Hi junwu, first, thanks a lot for responsing! I have had a look at this but unfortunately I don't understand how to use it. I tried googeling, and found the docs from your screenshot but there is no mention how this should be used.
axel_brke3
Participant
0 Kudos
Hi junwu, first, thanks a lot for responsing! I have had a look at this but unfortunately I don't understand how to use it. I tried googeling, and found the docs from your screenshot but there is no mention how this should be used. Do you have an example maybe? I should also mention, we are on Odata V2. Thanks a million times!
junwu
Active Contributor
0 Kudos
create presentationvariant annotation, and reference it by using Consumption.valueHelpDefinition.presentationVariantQualifier