Create templates for knowledge articles


The feature availability information is as follows.

Dynamics 365 Contact Center—embedded Dynamics 365 Contact Center—standalone Dynamics 365 Customer Service
No Yes Yes

Knowledge article templates help knowledge authors simplify the process of creating knowledge articles. Templates also help knowledge managers and authors maintain consistency in branding, language, and structure.

When an author chooses a template to create an article, certain fields in the template are prepopulated with values, allowing the author to focus on the main content of the article.


To learn how to use knowledge article templates to create knowledge articles, go to Create knowledge articles using templates.


Before working with templates, make sure you have the required privileges to create, edit, or delete knowledge article templates. Contact your administrator if you don't have these privileges.

Create a knowledge article template

As a knowledge manager, you can create knowledge article templates by defining the necessary fields such as Language, Title, Keywords, and Subject. These fields are prepopulated when the author creates the article using the template, reducing the effort to fill in these fields.

You can create a knowledge article template in the Customer Service admin center or Contact Center admin center app by performing the following steps:

  1. Go to the Article Templates section.

    1. In the site map, select Knowledge in Agent experience. The Knowledge page appears.
    2. On the Knowledge page, go to the Article Templates section and select Manage.
  2. Select New.

  3. In the Choose Language dialog box, select the language for the template, and then select OK. In this example, we're selecting the language as English – United States.

    Choose language.

  4. On the New Knowledge Article Template page, enter the values for the required fields that you want to prepopulate when the template is selected.

    Section Field Description
    TEMPLATE DATA Name Enter a name for the template.
    Owner Enter the name of the owner who owns the template. By default, your name is displayed in this field.
    ARTICLE DATA -- Define article fields such as Title, Keywords, and Subject that are used in any knowledge article that’s created based on the template.
    CONTENT -- Define a structure that to be used in any knowledge article that’s created based on this template. More information: Use the rich text editor to create knowledge articles and emails

    Enter the values in new knowledge article template.

  5. After you enter the required information, select Save.

    A template is created and is available for knowledge authors to use to create articles.


Similarly, you can edit or delete knowledge article templates from the Service Management area.

Use a template in Portal Knowledge Article Interactive Experience forms and custom forms

To add a knowledge article template to your forms, perform the following steps:

  1. In Dynamics 365, go to Settings > Advanced Settings > Customizations.

  2. Select Knowledge Article Entity, and then select Forms.

  3. Open Portal Knowledge Article Interactive Experience form, and then select Form Properties.

  4. Select Add to add the knowledge article template library that has the following web resource:

  1. Under Event Handlers, make sure that the Event field is set to Onload.

  2. Select Add. Ensure that the Library field is populated with the same web resource that you added.

  3. In the Function field, add the following function:

  1. Ensure that the Enabled box is selected.

  2. Select the Pass execution context as first parameter box, and then select OK.

  3. Select Save, and then select Publish.

See also

Create knowledge articles using templates