Widget KB CategoryKBv3

RenataN
Tera Contributor

Hi everyone,

 

I dealing with scenario where I want to use the widget KB Category KBv3 but it doesn't show the created categories. I looked at the code and they are falling into the condition: 

 

<div ng-if="::(data.show != true)">
${No categories available}
</div>

 

Does anyone know why this is happening and how I can fix it?

1 REPLY 1

Rafael Batistot
Tera Sage

Hi @RenataN 

May this happens because:

  1. No categories exist for the KB you’ve selected.

    • Categories are defined in Knowledge > Administration > Categories.

    • They are linked to a specific KB.
      If your KB has no linked categories, the widget will show “No categories available.”

  2. User doesn’t have read access to articles in those categories.

    • Even if the categories exist, the widget filters them out if the current user fails the Can Read criteria for all articles in that category.

    • This means the widget will “hide” categories that are empty for that user.

  3. Widget is not pointed to the correct KB

    • KB Category KBv3 requires the kb_knowledge_base Sys ID in the page parameters.

    • If you open the page without that parameter, data.show will be false.

  4. Catalog Security is blocking

    • If the KB itself has Can Read User Criteria, the widget won’t list its categories unless the user passes that check.

In your KBv2 has any data? May you try clone this one