Service Portal Search Bar Text

dharanikumar
Giga Guru

Hi Team,

In Service Portal, if i type something in the search bar and click on the homepage icon.

The text in the search bar is not cleared.

Please check the below screenshot.

#1 After search

find_real_file.png

 

#2 Once we click on the homepage icon then it should clear all and displays the portal homepage. Here for us everything is cleared and the homepage is displayed but the text we entered in the search bar is not getting cleared.

find_real_file.png

Thank you!!
Kumar

4 REPLIES 4

Gaurav Sharma11
Kilo Expert

Hi,

Could you please share the script if you are using a custom widget. OOB search widget should clear the text by default. On search results page it will display the text in search box because we have parameters in URL like "sp?id=search&spa=1&q=test". You can update/refresh the $scope in case you are using a custom widget on homepage.

Thanks,

Gaurav

Ct111
Tera Sage

Hi Dharani,

 

By default out of box search source when configured for incident ,doesn't show this abnormal behaviour which you are facing.

 

Example snapshot.

find_real_file.png

 

Try making this setting in your incident search source

 

find_real_file.png

 

ANd uncheck Is Scripted Source. Make this changes to your search source and try again.

 

Mark my ANSWER AS correcT AND HELPFUL IF IT WORKS.

Its already unchecked.

dharanikumar
Giga Guru

Hi All,

Here in our Service Portal, when we click on the company logo the entire page is getting refreshed.
But the header widget remains and not refreshed thus the entered text in the search bar remains as it is.

_Kumar