Add custom button in search results page | Community
Skip to main content
Level 2
January 4, 2024
Solved

Add custom button in search results page

  • January 4, 2024
  • 2 replies
  • 589 views

Hi all, 

 

we've a requirement to add the custom button in aem search page after selected single asset. The same feature we implemented in assets page using JS its working as expected. But, when we add the logic in ominisearch.js it is not showing the button even load the pages multiple time. 

 

Please share your input to sort the issue.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JagarlamudiVe

Hello @blackbox1 

 

It seems like you might have a caching problem. When changes are made inside js files, you need to make sure that you 'Invalidate Caches' and 'Delete Generated Client Library Files'.

Thanks,

Venkat

2 replies

JagarlamudiVeAccepted solution
Level 4
January 4, 2024

Hello @blackbox1 

 

It seems like you might have a caching problem. When changes are made inside js files, you need to make sure that you 'Invalidate Caches' and 'Delete Generated Client Library Files'.

Thanks,

Venkat

Level 2
December 12, 2024

Hi, I have the same requirement. how to make changes in the omnisearch.js?