Related search results configuration

Luke James
Tera Contributor

Hi All, 

 

I have a requirement on the related search results configuration on the incident module, to only return knowledge articles related to certain knowledge bases. How can I do this? 

 

Kind Regards, 

 

Luke

1 REPLY 1

Shruti
Mega Sage
Mega Sage

Hi,

1. Create a Search Context:
Navigate to Contextual Search > Search Contexts.
Create a new search context and set the "Searcher" field to "Knowledge".
Save the form.
2. Configure the Search Resource:
Go to the "Resource Configuration" tab on the search context form.
Click on "knowledge" and then "Condition".
In the "Value" field, enter an encoded query that filters by the desired knowledge base(s). For example: kb_knowledge_base=SYS_ID_OF_KB_1^ORkb_knowledge_base=SYS_ID_OF_KB_2 
You can find the sys_id of a knowledge base by opening the knowledge base record and looking at the URL or the record's details.

3. Navigate to Contextual Search -> Table configuration

4. Apply this filter

Shruti_0-1751030214441.png

5. Update the Search context field to the new search context created in step 1

Shruti_1-1751030273261.png