cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

UI5 Smart field in F4 Help hide in Search Help Popup

0 Kudos
2,101

Hello,

I have a Valuelist which makes use of Annotations. The values are fetched from a CDS view.

For the Value help dialog I have 3 fields to filter out those values, they are - WBS, Company Code, Description.

I want to make use of all the 3 fields for filtering but I dont want the Company Code field to be displayed on the display help pop up. (Please see screenshot below)

have read about the UI annotation for UI.hidden, but how do I apply this to my annotation field. (Annotation is as below)

View Entire Topic
vedaradhya
Participant

Hi Rohit Chokhani,

To hide property and it should filter. then use the 'com.sap.vocabularies.UI.v1.HiddenFilter' property annotation.

for example..If required to hide 'CompanyName' property in 'BusinessPartner' search help entityType in the service GWSAMPLE_BASIC.

The following Annotation is required.

<Annotations Target="GWSAMPLE_BASIC.BusinessPartner/CompanyName">
        <Annotation Term="com.sap.vocabularies.UI.v1.HiddenFilter" Bool="true"/>
</Annotations>