on ‎2017 Jul 13 8:35 AM
Hi,
I'm creating a Fiori app using fiori elements/templates and CDS annotations.
One of the fields requires a search-help value list, This just needs to be a drop down list with PASS and FAIL in it.
I have created another view that returns a table with these results and then create a foreign key association and linked the field to the value help
@Consumption.valueHelp:'_Result'
@ObjectModel:{foreignKey.association:'_Result',mandatory:true}
ZHEADER.qires,
This is working however the result is a two step search help (i.e. I click on the possible entries which brings up a dialog box where I then have to click go to show the list of entries as per below).

Is it possible to get the entries to appear as an immediate list similar to the one below?
Can this be done via annotations?
Any help much appreciated

Request clarification before answering.
Annotate your value help CDS view with
@ObjectModel.resultSet.sizeCategory: #XSThis will automatically create the fixed-values metadata annotation and shows a dropdown in Fiori Elements.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 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.