2021 Dec 19 6:33 PM
Hi,
I have requirement to show dropdown via CDS UI annotation which is coming nice by using below annotation
@ObjectModel.resultSet.sizeCategory: #XS
But I have further query :
1) It is multi-Select, I want user to select only value from drop-down
2) Is there any way to put default value via CDS ui-annotation

Hi,
I have requirement to show dropdown via CDS UI annotation which is coming nice by using below annotation
@ObjectModel.resultSet.sizeCategory: #XS
But I have further query :
1) It is multi-Select, I want user to select only value from drop-down
2) Is there any way to put default value via CDS ui-annotation

2021 Dec 20 5:26 PM
It got resolved
@Consumption.filter : { selectionType: #SINGLE }
and I have added defualt value through WebIDE through
<smartFilterBar:ControlConfiguration>
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |