Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Add custom button in search results page

Avatar

Level 2

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.

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

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