Skip to Content
avatar image
Former Member

Smart filter bar value help defaulting

Using a smart filter bar with value help dialog - is it possible to default values of highlighted input fields?

E.g. Having 2 fields in the smart filter bar: 'Currency' (combobox) and 'Company code' if I select currency 'GBP' and then open the value help of Company Code I would like to have the field 'Currency Code' already defaulted with what was selected in the smart filter bar.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • May 29, 2017 at 12:06 PM

    Hi Radek Chudziak,

    You need to default the data of the model bind to the controls in smart filter.

    thanks

    Viplove

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 10 at 09:37 PM

    Hi,I was able to solve this by using annotations on the fiori app, first select the entity type that correspond to the help value.second select the property you want to add the default value, and then add the annotation common.FilterDefaultValue and the value you want

    the result is this

    also there's another blog on how to add default values but this worked for me. I hope that this could help you :)

    best regards


    shot.png (91.4 kB)
    shot.png (91.4 kB)
    shot.png (70.7 kB)
    Add comment
    10|10000 characters needed characters exceeded