Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Modification of Global Search in native view

Sakshi Lambat
Tera Contributor

Hi,

 

I need to modify the "Global Search" logic on backend so that no "sc_cat_item" results are returned by the searches. We also need to ensure that this restriction does not impact the employee center portal search logic.

Please help me.

 

Thanks

11 REPLIES 11

@Sakshi Lambat 

another option is add your catalog item in this filter condition for search source, logout and login again and then verify

https://instanceName.service-now.com/nav_to.do?uri=sys_search_source.do?sys_id=05872f5318f23110f8776e40dedab87e

AnkurBawiskar_2-1784011680812.png

 

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi @Ankur Bawiskar ,

 

Thanks for the inputs!

But I already tried all the ways you have provided but still no luck.

 

Thanks,

Sakshi

@Sakshi Lambat 

it worked for me

I added the 2 catalog items in that filter condition and when I searched it didn't show up

"General Benefits Inquiry" is not searchable

AnkurBawiskar_1-1784012435455.png

 

Also "Logitech Wireless Mouse" catalog item was not added in that filter condition so I was able to search with that

AnkurBawiskar_0-1784012402333.png

 

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Sakshi Lambat 

Just following up to see whether my suggested solution worked for you.

If you're still facing any issues, I'd be happy to help further.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Tanushree Maiti
Tera Patron

Hi @Sakshi Lambat 

1) Catalog item with inactive category will not come under search result in portal.

2)Refer:  Search settings filter and group global search results by table 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti