on ‎2017 May 29 11:37 AM
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.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eliu Gonzalez,
How can I repeat the same if I want to add multiple default values to the same Smart-filter bar.
thanks & best regards,
Sandesh
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 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.