Unable to search any Catalog Item from the Service Portal Search

shaik_irfan
Tera Guru

Hello,

 

I am not able to search any Item from the Service Portal search. I confirmed that No Search is checked as True and Category & Catalog is filled and i am an Admin.

1 ACCEPTED SOLUTION

Nirosha Uddandi
Kilo Guru

 editing service catalog search source@ line 16 of the Data Fetch Script to pass in the catalog value 

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

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

View solution in original post

9 REPLIES 9

That's how mine is set up in Kingston

Nirosha Uddandi
Kilo Guru

 editing service catalog search source@ line 16 of the Data Fetch Script to pass in the catalog value 

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

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

That worked but can you please explain what happened ?

 

Since i didnt change any script and OOB it should work right then why to add Portal Value separately

this is known error,fixed from London version for pervious version they provided workaround ,below reference link

https://hi.service-now.com/kb_view.do?sysparm_article=KB0718619

 

Hi,

I am facing same error in Madrid version.... But in Search Source code is different..

Any Suggestion.