KB categories based on selected Knowledge bases in portal

New Developer_S
Giga Sage

Hi,

 

I am looking to find a way so that when a user manually selects a knowledge base from the our customized Portal, the search widget only searches within that specific KB and get the particular KB categories in that Knowledge base.. At present, it is returning All results from all KBs- which is not a desired solution.

To Eloborate :

 

We have 2 Knowledge Bases:

NewDeveloper_S_0-1716013054419.png

When One KB is selected, All KB categories ( which are also included in 2nd Knowledge base ) are fetched.

NewDeveloper_S_1-1716013249184.png

We are using KB Categories - KBv3 widget. How to customise in order to get KB categories bases on selected Knowledge bases ? where should we change the code ? 

 

Please advice.

 

Thanks in advance,

Tia

5 REPLIES 5

cpawan
Tera Expert

Hi Developer,

Check this configuration

Go to fulfiller view > from filter navigator go to  Service Portal > select your portal on which you are doing search > go to related links > Search sources and add the knowledge base which you want to keep for search

Hi,

Thanks for response. But my concern to seperate KB catergories for each KB. I am fetching all KB catergories from all Knowledge bases . Requirement is to fetch only KB categories related to the KB.

 

Gangadhar Ravi
Giga Sage
Giga Sage
  1. Go to sp_portal and go to your custom portal record.
  2. Find Knowledge base tab and add the knowledge you want to show results from and remove any other. 

GangadharRavi_0-1716042063137.png

 

Please mark my answer correct and helpful if this works for you.

 

Hi Gangadhar,

 

May be, I will put in another way here :

 

I use the KB - Categories - KBv3 Widget in my customised Portal.

and when I click on a specific Knowledge Base-  All categories are  appearing from all knowledge bases.

I need articles to be sorted for that particular knowledge base only.

For this requirement, Can you pls share some details where to modify the code ?