logo

NJP

How to Fix your Catalog Search on Service Portal if Type Ahead Search Doesn’t Return Results in Kingston

Import · Mar 26, 2019 · article

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:

image

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.

image

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:

View original source

https://www.servicenow.com/community/itsm-blog/how-to-fix-your-catalog-search-on-service-portal-if-type-ahead/ba-p/2293688