How to hide KB category if it does not contain any KB article?

Pranav28
Tera Contributor

On the service portal side, we want to hide the KB category if it does not contain any article in it.

I have tried enabling following property; but it's not working on the portal side.

find_real_file.png

Can somebody pleas help in this?


Thank you!

4 REPLIES 4

Anil Lande
Kilo Patron

Can you please share on which page you want to hide it?

 

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Hi Anil,

I want to hide those on kb_search (Knowledge Search) page.

What I really want is,  - 
When we search for the KB article, on the left side, filter criteria appears.
In that filters criteria, I want to display only those categories for which articles are available.

Eg. In the below screenshot, Knowledge Base is selected and accordingly respective all categories are visible. But I want to display only those categories for which articles are available.

find_real_file.png

Willem
Giga Sage
Giga Sage

Hi Pranav,

If you go to the Categories widget on the portal and Ctrl + Right click you can edit the Widget instance options:

find_real_file.png

 

Then you can change the Property below. It is set to 0 by default, but you can increase the number:

find_real_file.png

Pranav28
Tera Contributor

Hi Willem, 

It's not working. What I really want is,  - 
When we search for the KB article, on the left side, filter criteria appears.
In that filters criteria, I want to display only those categories for which articles are available.

Eg. In the below screenshot, Knowledge Base is selected and accordingly respective all categories are visible. But I want to display only those categories for which articles are available.

find_real_file.png