mohankrishna1
ServiceNow Employee
ServiceNow Employee

If you have recently upgraded to Kington patch 12, you may notice that your catalog search in Service Portal isn’t returning any results. This behavior can be seen when you are using the type ahead search and Search page widgets in Service Portal but when you global search the catalog item you would see results.

Example of No Catalog results on Service Portal Search:

find_real_file.png

In the Global Search (Platform UI), we see that the catalog items are indeed there. It is just in the Service Portal search that they are not appearing.

find_real_file.png

Want to fix your type ahead Service Portal search bar to search Catalog items again? Here is an article which might be helpful: Service Portal type ahead search does not work for catalog items.

An official Fix is available in Kingston Patch 14 and London version of ServiceNow. For customers who cannot upgrade to these versions, please use the workaround to get your Service Portal to return results again

 

Workaround:

You can resolve the issue by editing line 16 of the Data Fetch Script field of the Service Catalog Search Source

/nav_to.do?uri=sp_search_source.do?sys_id=c96eb1686721220023c82e08f585efff 

if (!catalog_item.canViewOnSearch() || !catalog_item.getFirstAccessibleCategoryForSearch()) { 

To:


if (!catalog_item.canViewOnSearch() || !catalog_item.getFirstAccessibleCategoryForSearch(portalValue)) { 

Note: Please revert this search source to the latest version after upgrading to the fixed version (Can be switched from Version Tab in the related list).