cancel
Showing results for 
Search instead for 
Did you mean: 

Hide "Hide Advanced Search" in SAPUI5 smart filter bar's value help

tezk
Participant
0 Kudos
1,409

Hi,

I have a sapui5 smart filter bar with value help. I am handling those value helps using XML annotations. When I open the value help, it should show "Show Advanced Search" by default in value help dialog instead of "Hide Advanced Search".

Along with that I want to hide basic search field and want to show few fields. How can I achieve this scenario using XML annotations or from backend oData. SAPUI5 version is 1.76. Please provide your suggestions.

Accepted Solutions (0)

Answers (2)

Answers (2)

Radoslaw_Kiela
Participant
0 Kudos

Hi,

Check if the VH CDS has this annotation and remove it if necessary...:
@Search.searchable

tezk
Participant
0 Kudos

Hi, We are using XML annotations only. Not sure whether there is a property to "Show/Hide Advanced Search".

junwu
SAP Champion
SAP Champion
0 Kudos

https://sapui5.hana.ondemand.com/sdk/#/topic/4de40b31324e4876a8421f6f642e0140.html

<PropertyValue Bool="false" Property="SearchSupported"/>

this should hide that search field.

don't know if there is a switch to control the show/hide advanced search

tezk
Participant
0 Kudos

Yeah, Property value is fine. But I want to hide the filters initially and show "Show Advanced Search". I didn't find any property for it.