cancel
Showing results for 
Search instead for 
Did you mean: 

Basic Search in SmartFilterBar not working

Former Member
0 Kudos

Hi experts,

I am trying to incorporate free text search in my SmartTable . however, whatever search field I enter, the table is not returning any data. I have given enableBasicSearch=true and basicSearchFieldName=myProperty

In the metadata, myProperty is coming under the annotation Common.ValueList and ahave set the property SearchSupported as true.

Whenever I make a search, I am getting an exception in the gateway and it is throwing HTTP 500 internal error

It would be great if you could help me overcome this blocker

Thanks in advance,

Rohit

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

I found a solution for this.

First,you have to declare the following annotation at CDS header

@Search.searchable: true

Once this is done, we have to the following annotation to the fields which needs to be made searchable

@Search: {defaultSearchElement: true, ranking: #MEDIUM, fuzzinessThreshold: 0.8}

Former Member
0 Kudos

Hi,

I have tried it with mockup data. It is also not working for me.

😕

If you have found a solution please let me know. Thanks.

Silvia

Former Member
0 Kudos

Hello,

Did you solve the problem?

I tried it with mockup data. And I follow the rules said in:

SAPUI5 SDK - Demo Kit

But is still not woking