Limit contextual search to a specific knowledge base

swnewton
Kilo Guru

Is there a way to limit the searchers to just a specific knowledge base instead of all knowledge bases?

1 ACCEPTED SOLUTION

Support provided the answer!  



  1. Determine the encoded query for knowledge base they want to use as the filter. (for example, kb_knowledge_base=ff63da309390120039375562967ffbec)
  2. Navigate to the Contextual Search > Search Contexts module, and select the Search Context you want to modify.
  3. On the Search Context Resource Configuration tab, they need to select the Resource Configuration they want to modify.
  4. On the Search Resource Context Properties tab, select the Resource Context property to modify. It should be a Condition Resource Context Property.
  5. On the Resource Context Property, you fill in the Value field with an encoded query to restrict the knowledge base to the desired knowledge base.

View solution in original post

14 REPLIES 14

Joe F
Tera Contributor

How would you determine the encoded query for knowledge base?

Hi @swnewton  The solution you mentioned is that for any table or was applied to Service Portal knowledge search results on a custom page ? Rest all widgets remain OOB except for KB base Facet set to inactive for our use case. 

Appreciate your response.

Hi,

Can you please tell how to determine encoded query for knowledge base?

I have taken ITSM VA knowledge search as context search now , what should be my encoded query?

 

kanielb1
Mega Expert

How would you add a second knowledge base to the filter?