How to configure a search box on Service Portal?

Lucas Fernando
Tera Contributor

Hello.

 

We have a search bar on our company's portal. It works globally, so it shows you results about catalog items in all categories available. You can see it below:

 

Screenshot (568).png

 

However we want the search bar to work locally. For example, if the user selects Controlling and searches something, the bar should do a search only on the catalog itens inside Controlling. In another case, if the user selects Tax, only Tax catalog itens should appear after a search.

 

How can I set up the search box in this way?

 

Thanks.

1 ACCEPTED SOLUTION

AnubhavRitolia
Mega Sage
Mega Sage

Hi @Lucas Fernando  

 

This search is configured in 'Typeahead Search' Widget. You need to understand this Widget on how this is configured and how you can clone and modify it to show result based on your Category selected.

 

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

View solution in original post

2 REPLIES 2

AnubhavRitolia
Mega Sage
Mega Sage

Hi @Lucas Fernando  

 

This search is configured in 'Typeahead Search' Widget. You need to understand this Widget on how this is configured and how you can clone and modify it to show result based on your Category selected.

 

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

It was exactly what I needed. Thanks!