cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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

0 Likes
View Entire Topic
krantikartan
Discoverer
0 Likes

If you have solution please let us know here