Service Portal - Search Return

Vasuki
Tera Contributor

Under Service Portal Any Item a search returns 0 results. then The Request form should be presented with the following text

"Hmmm looks like we haven't got that item in our catalog. Please submit this form in the meantime

As of now we are getting as "Your search - value - did not match any documents"

 

Please let me know under which form I need to change this.

 

 

1 ACCEPTED SOLUTION

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Vasuki ,

 

It is an OOB message. In order to edit this, you need to clone the widget - 'Faceted Search'.

After cloning the widget you can edit the message as per your requirement. Don't forget to use the newly cloned widget in your service portal.

 

find_real_file.png

 

Please mark my answer as helpful/correct if it resolves your query.

 

Regards,

Gunjan Kiratkar

Consultant - ServiceNow, Cloudaction

Rising Star 2022


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

View solution in original post

8 REPLIES 8

Saurav11
Kilo Patron
Kilo Patron

Hello,

As someone pointed out in the other reply if you have not customized the page it is coming from the Faceted widget and you need to clone the widget to make the changes.

However a word of caution over here, faceted search is one of the most important widgets used on Portal as all the search eventually redirect to this widget. So if you customize the widget just for changing the one line, you will loose all the new updates which Servicenow brings in the new version.

Also with Servicenow slowly moving to AI based search there is a clear chance that there are more updates coming from Servicenow as you can see there is already code for AI search which probably will still be enhanced.

Then maybe you will have to revert back to the OOB version and then again you have to explain users the reason so I would say better to explain them now rather than later.

So these were my few points on why not to touch the widget rest is upto you based on your project.

Thanks.

Vasuki
Tera Contributor

Thank you Saurav

Hello,

Just saw you had marked my answer as correct and later changed it.

Any reason why?

David Arbour
Tera Guru

Alternatively, you can just create a record in the sys_ui_message table with a key of "Did you mean" and provide your message there (this key does not exists OOB). That should cause "${Did you mean}" to be replaced with the value you provide in the new sys_ui_message record. This may not be a perfect solution, but it will prevent you from needing to clone the widget.