The CreatorCon Call for Content is officially open! Get started here.

Search Bar on a Topic Page

Stuart Tucker
Tera Contributor

Can you have a separate search bar on a Topic Page, that only searches the content in that Topic? Rather than using the global search at the top, people who have navigated to the topic should automatically have a refined search based on the topic they are in. The 'Filter By' and 'Sort By' are ok but only give a limited search capability.

1 ACCEPTED SOLUTION

Dan O Connor
ServiceNow Employee
ServiceNow Employee

Hey @Stuart Tucker 

Yes you can 🙂 

 

You will notice when on a Topic page configuring there is an option to select a Topic Template. This is effectively a page that ties to that topic. OOTB there is a page provided.

 

If you clone/copy this page, you can then add in additional widgets, and uses it as a template for certain topics.

 

You can add the typeahead widget into a topic page, and then configure the widget to only return search results for that topic. Using Zing search this is easily done in the widget itself.

If using AI Search, you will need to create a new AI Search app and associated configurations, that you then select as part of the widget.

 

Here is an example of the search widget on a topic page

DanOConnor_0-1677839229461.png

 

Here is an example of that widget configured using AI Search, notice how it has a search application that doesn't ship OOTB. However you can just mirror the OOTB config to recreate a new search application, just fine tuning the search sources to return what you want it to show. In this case, the filter in search sources handily allows you define a topic 🙂 

DanOConnor_1-1677839258905.png

 

View solution in original post

12 REPLIES 12

PoojaP
Tera Contributor

We are checking with Servicenow team for this issue, still there is no fixed for us.

Hi @PoojaP  and @jrusso . We are having the same issue. Did this ever get resolved for you or has it been confirmed as Problem?

Dan O Connor
ServiceNow Employee
ServiceNow Employee

@jrusso And you have AI Search setup and configured in your ESC? 

@Dan O Connor   Yes, we have AI Serach configured.  It seems to work fine at the main search function, but not inside the topic pages. 

Was a fix ever found as I have the same problem.