Service Portal Search Bar Text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2020 03:10 AM
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
#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.
Thank you!!
Kumar
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2020 03:32 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2020 04:14 AM
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.
Try making this setting in your incident search source
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2020 01:12 AM
Its already unchecked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 01:38 AM
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