cancel
Showing results for 
Search instead for 
Did you mean: 

SmartFilterBar: Change Default Label of Default-FieldGroup

simondesch
Discoverer
0 Kudos
240

Hello

I'm trying to change the Default-Group Description in a SmartFilterbar. In the following Screenshot i want to Replace "DocumentSet" by "Other Filters"

I wanted to be all fields, which i did not explictly assign to a FieldGroup, to be shown up in a group called "Other Filters".

I know i could just change the Label of the Entity Document to "Other Filters" with the annotation Common.Label. Something like this:

But somehow this looks a little bit wrong to me, cause the Description of the Entity Document is not "Other Filters". Do you know if there is any better (easy & smart) way. As we have a lot of fields, i don't wont to create manually a default-group and assign all the fields.

Thanks and best regards

Simon

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member5334
Participant
0 Kudos

Hi.

You can add FiedGroup annotation to all entity fields

@UI.fieldGroup: [{ label: 'Field group label', position: 20, qualifier: 'BasicData' }]
simondesch
Discoverer

Hi Aleksandr

Thanks the quick reply. Unfortunately i could not use CDS-Views, so this would somehow blow up the MPC-Coding or the annotation.xml.

Best regards

Simon

former_member5334
Participant
0 Kudos

Hi Simon.

If your can't use CDS-view, local annotations in annotation.xml is the best choose.

BR, Alexander.