Dear Team,
I've a requirement where the existing asset share common search functionality to be overridden.
Instead of token based search, needs a 'startswith' search.
For example: if file name is abcdef_xyz.jpeg , if the user enter abc or abcd, I should get the result.
I created a servlet for the query execution and I believe logic is okay to give results.
But unfortunately, my servlet logic is by-passed and after executing the servlet logic , the control goes to 'asset share commons' and a new query got created from the same string( abc / abcd) that I passed and the result of that query is available in the page.
I couldn't find how it is communicating to asset share commons. In the page I'm using 'asset share common- search-results' component to display the results. That's one clue I've with. Do I need to replace the search results component in-order to make it work?
The highlighted is my facet search. The left hand side is authored with the 'asset share common- search results'.
Below is the snip of the log:
After line number: 932 , control goes to 'asset share commons' and the actual result we see in the page is through that query.
Can someone throw any ray of hope?
NB: Please let me know if you guys need more details, so that we can sort this out.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
@lakshmi_anil by default references point to asset share commons, make sure to overlay the search component and all it references then point the mapping to you custom component and classes. Both at component level and content level. Then control moves to your custom components where you can play around.
Thank you!!
@lakshmi_anil by default references point to asset share commons, make sure to overlay the search component and all it references then point the mapping to you custom component and classes. Both at component level and content level. Then control moves to your custom components where you can play around.
Thank you!!
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies