Configure and manage category for knowledge articles

This section helps you understand how to create a new category for knowledge articles and associate it with an article. You'll also learn how to enable ratings for a knowledge article.

Create a new category for knowledge articles

  1. Sign in to Dynamics 365 Portals.

  2. Go to Settings > Service Management.

  3. In the Knowledge Base Management section, select Categories.

  4. Select New.

  5. Enter a name and description for your category.

  6. Choose a parent category. If you want this category to be a top-level category, leave this field blank.

Associate a category with a knowledge article

  1. In Customer Service Hub, go to Service > Knowledge Articles.

  2. Open a knowledge article.

  3. On the command bar, select Associate Category. The Associate Category window appears.

  4. In the Select Category to Associate with field, select the category you want to associate to the article. And then, select Associate.

    Associate a category to a knowledge article.


You can also add related articles, related products, and keywords to a knowledge article. For more information on managing knowledge articles, see Create and manage knowledge articles.

Remove a category from an article

  1. In Customer Service Hub, open the knowledge article from which you want to remove a category.

  2. On the Summary tab, under Related information, select Related Categories.

    View associated categories to a knowledge article.

  3. Select the category you want to remove.

  4. From More Commands, select Remove.

    Delete an associated category from a knowledge article.

Delete a knowledge category

  1. Sign in to Dynamics 365 Portals.

  2. Go to Settings > Service Management.

  3. In the Knowledge Base Management section, select Categories.

  4. Choose the category from the list view, and then select Delete on the command bar.


Knowledge articles associated with the category will be disassociated after the category is deleted.

Enable ratings for a knowledge article

  1. Sign in to the portal and go to knowledge article.

  2. Edit the article from the inline editor.

  3. On the Options tab, select Enable Ratings.

Expand and collapse sections

You can add sections that can be expanded and collapsed by adding a collapsible section using the collapsible command button:

Collapsible button control.

You can see the following example with one section expanded and the rest in collapsed positions:

Example expandable and collapsible sections.

Following considerations apply when using collapsible sections:

  • Default state of a collapsible section is collapsed.
  • Existing web page and web templates can work with collapsible sections without any additional changes.
  • If you select Print, the state of the sections from current selections persist for print preview.
  • The collapsible sections, when added to your articles, have additional JS function and CSS style for the expand/collapse button.

Customize expand and collapse behavior

You can customize the default CSS and JS files and create additional customization. The default CSS file name is collapsible.css and JavaScript file name is collapsible.js.

The following example shows a web template using default JavaScript and CSS files. Update the file name and location for the web template to your customized JavaScript and CSS files:

Web template.

See also

Get started with the portal content editor