How to include multiple knowledge base in service portal

RudhraKAM
Tera Guru

Hello , as many of you know that we can only assign one knowledge base in service portal , how to include another knowledge base too ?

My issue with this is, If i have knowledge base A and  in the portal search if i search for some thing which is in that knowledge base it will display that 

but if i want to include knowledge base B as well in the portal search , how can i do that 

 

I tried adding the search source too but no luck , can some one suggest me what to do with this ?

1 ACCEPTED SOLUTION

OK if you want to set specific KBs, change that line to something like the following:

var kbQuery = kb.addQuery('kb_knowledge_base', $sp.getValue('kb_knowledge_base')).addOrCondition('kb_knowledge_base', 'KB-2-SYSID').addOrCondition('kb_knowledge_base', 'KB-3-SYSID');

The idea is KB1 is set in the service portal definition record and the addOrCondition statements add others.

View solution in original post

18 REPLIES 18

London Version:

Another way to achieve this

Add additional query(addOrCondition) to "KB Categories - KBv3" widget

Old post but do you know if there is a way to limit the new Knowledge Portal to search only one KB rather than all of them?  Search Sources don't seem to work.

Out of the box the service portal only searches the one knowledgebase defined in the service portal definition record. This post describes how to change this to search multiple, so not sure I understand your question. 

Right, earlier in the thread you reference the new Knowledge Portal. Was wondering if you knew how to restrict that plugin to one Knowledgebase rather than multiples.  It doesn't seem to respect search sources. 


I am almost positive that will also search only the one knowledgebase defined in the service portal definition record.  Have you confirmed that is not the case?