on ‎2021 Sep 23 12:28 PM
Hi All,
We have been using CAP JAVA odata V2 model to expose cds views. We have added certain annotations to support F4 help in the UI. But the F4 help is displaying all redundant values. In the below code Field 2 has redundant values. Is there any way to display unique values from field 2 in F4 help using cds annotations in cap java odata v2 model?
Service call{
entity test as select field1, field2 from TEST;
annotate test with {
field2 @(Common : {
FieldControl : #Mandatory,
ValueList : {
CollectionPath : 'test',
Label : 'Field2',
SearchSupported : true,
Parameters : [
{
$Type : 'Common.ValueListParameterOut',
LocalDataProperty : 'field2',
ValueListProperty : 'field2'
}
]
}
});
}
}
Thanks
Request clarification before answering.
If you have solution please let us know here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 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.