Expand my Community achievements bar.

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

No search result found

Avatar

Level 2

Hi, I'm trying to display a message " Search result not found" when the search item doesn't exist. how should I approach this? I was trying to modify the search core component javascript, because it is the resourceSuperType for the custom search component I have. Any idea on how to approach/fix this issue?

Thsnks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

The core component has hard coded message

https://github.com/adobe/aem-core-wcm-components/blob/799d8636335370b9340cfa65a2ffbdd23b75dac1/conte...

 

You can try overriding the clientlibs if that helps.



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

The core component has hard coded message

https://github.com/adobe/aem-core-wcm-components/blob/799d8636335370b9340cfa65a2ffbdd23b75dac1/conte...

 

You can try overriding the clientlibs if that helps.



Arun Patidar