- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2018 11:22 AM
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 ?
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2018 12:15 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2018 09:42 AM
Yes, I've verified that it won't respect that KB setting from the definition record nor the search sources. I've scoured the widgets for options or filters to do the same as well with no results. I've dug through the code to look for a GlideQuery that I can restrict or a JSON object that I can parse, nada there as well.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2018 10:38 AM
The Knowledge Management - Service Portal plugin (com.snc.knowledge_serviceportal) is really meant to make the knowledge v3 application work via Service Portal. So whatever access the user has in the platform UI, they will have the same access via the kb_home portal. If you want to remove knowledgebases you use User Criteria like you would elsewhere in the platform.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2018 10:46 AM
Yeah, I figured that was the case. I was hoping it would work closer to the Service Portal where you can define a KB for the Portal or via a Search Source. Thanks for your help on this, really appreciate it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2019 01:14 PM
You can do this in Madrid - Please find documentation here - https://docs.servicenow.com/bundle/madrid-servicenow-platform/page/build/service-portal/task/associate-portal-knowledge.html