The Top search bar on esc portal search result page not working.

Priti_S
Tera Expert

Hello,

The top search bar on the search results page is not updating with the correct text.

For example, I searched for 'Workforce Management' from the home page search bar and hit Enter. I was then brought to the search results page with the search bar at the top.

Next, I searched for 'Request Hardware' using the top search bar, and it brought up the correct results.

However, when I went back to the home page and searched for 'New Hire', I was brought to the search results page (as shown in the attached image). As you can see, the results are correct for 'New Hire', but the search bar at the top still displays 'Request Hardware'.

This issue is occurring on the ESC portal where AI search is enabled.
Thank You!!

1 ACCEPTED SOLUTION

Priti_S
Tera Expert

I resolved the issue by cloning the 'Employee Center Header' widget. In the cloned widget, I updated the logic to fetch the correct search text using the $location variable to extract the query from the URL.
Thanks!

View solution in original post

2 REPLIES 2

Robert H
Mega Sage

Hello @Priti_S ,

 

I have done the same steps in a fresh ServiceNow instance but did not experience that issue. So it appears to be caused by something on your particular instance, but there are a multitude of possible reasons, so my advice is to open a Now Support case. Please let us know what ServiceNow support finds out.

 

Regards,

Robert

Priti_S
Tera Expert

I resolved the issue by cloning the 'Employee Center Header' widget. In the cloned widget, I updated the logic to fetch the correct search text using the $location variable to extract the query from the URL.
Thanks!