How to limit the search functionality on the Topic Page to return searches specific to that topic

suvro
Mega Sage
Mega Sage

Hi,

The new search functionality in Topic Page is great. But customers are saying it is returning search results which are not part of the topic as well.

 

So how to limit the search results to return the contents specific to the Topic opened.

 

 

1 ACCEPTED SOLUTION

suvro
Mega Sage
Mega Sage

Hi,

 

I opened a HI ticket, they proposed the below solution and workaround worked

 

This PRB is fixed and available in the Washington DC release. IPlease upgrade to Washington release to resolve the issue. In the meantime, there is a workaround detailed in the KB article: Workaround: Remove "62d1574053c13010cbb0ddeeff7b122c" sys_id from the option_schema field in sp_widget_9c691d40c31030102ec1a589a840dd4c This must be replaced after upgrading to the patch that fixes this issue, or if installing the app-learning-core plugin.

View solution in original post

5 REPLIES 5

Sajal Gupta
ServiceNow Employee
ServiceNow Employee

@suvro 

In the topic content widget Instance option, please select your required knowledge bases and catalog items as the search source filter from the list.

SajalGupta_0-1712674515003.png


Regards

Sajal

Hi Sajal,

 

There is a single topic page for all topics and sub-topics. So whenever I select any particular topic  or sub-topic. The same page opens with a parameter called topic_id="sys_id of the topic". Now I cannot use this filter in the search sources right because it is dynamic.

Sajal Gupta
ServiceNow Employee
ServiceNow Employee

@suvro 

 

The topic content widget is also going to be the same on all topics. The issue should be caused only when you select the "All" filter. There is a default value present on the instance option which is causing the problem in the case of "All". 

Once you add the search source filter it will automatically handle showing the dynamic content based on the topic you've opened.

Hi Sajal,

 

It is showing dynamic content, but when I am searching something it should search among the topic but it is not doing so. So you are saying if we select Catalog or Article in place of ALL it will search only for content in the topic selected ?