on 2022 Jun 07 1:23 PM
Hey community,
I've a question regarding the fuzzy search annotation. I know that it is possible to use the following annotations to enable fuzzy search on HANA:
But that approach only works, if the request from the UI comes with an search query. This works fine for Fiori Elements apps. But how should that work with freestyle apps? If I'm implementing a custom search bar with an event handler, my only option is to create filters on the binding of the container, which holds the data. And that leads into filter queries in the oData request. And the filters are not working with the search annotations...
Is there any way to trigger a search query from the UI binding? Or is there another approach for implementation with filters? (Except from using manual ABAP coding, I know that this would work, but it's not what I want).
We're using referenced data source to map the CDS views into the SADL framework of the SEGW, so using the oData: publish annotation from this blog-post, would also not work in my opinion.
I am glad about every hint, thank you!
Best regards,
Mark
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Arnab,
yes I was able to solve it with the following logic:
oTable.bindAggregation("items", {
path: sPath,
parameters: {
custom: {
search: sSearch
}
},
...
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am also having the same problem. mark.deppe Were you able to solve it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
30 | |
8 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.