> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/create-a-template.md). Agents can also search and read this documentation through its [MCP server](https://docs.collibra.com/~gitbook/mcp).

# Manage templates

You can create, edit, discard, publish, copy, export, import, and delete an assessment [template](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/template-gallery.md).

## Prerequisites

You have a global role with the **Assessments** > **Manage templates** global permission.

## Open a template

1. On the [Assessments landing page](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/open-assessments.md), in the **Templates** section, click **Show all templates**.
2. Click the template tile.\
   The [template editor](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/template-editor.md) opens.

## Create a template

You can create a template for conducting assessments.

1. On the Assessments landing page, in the **Templates** section, click **Create template**.\
   The template editor opens.
2. In the sidebar, enter the [required information](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/template-fields-and-settings/template-settings.md).
3. Click **Add question** or drag the required field types to the canvas.
4. [Configure](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/template-designer/working-with-questions.md) the settings for the fields.
5. [Configure](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/configuring-logic.md) the logic conditions for the fields.
6. Add more pages and more fields if needed.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Each page of a template appears as a separate section in the assessment.</p></div>
7. Click **Save**.\
   The template is created with version V1 and status Draft. The new template is shown in the **Custom Templates** section on the templates page.

## Edit a template

You can edit only custom templates. Collibra templates can't be edited, but you can [copy](#copy-a-template) them and then edit the copies.

1. [Open](#open-a-template) the custom template.
2. Edit the template.

   <div data-gb-custom-block data-tag="hint" data-style="success" class="hint hint-success"><p>For information about the template fields and settings, go to <a href="https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/template-designer/template-fields.md">Template fields</a> and <a href="https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/template-fields-and-settings/template-settings.md">Template settings</a>.</p></div>
3. Click **Save**.\
   Your changes are saved.

{% hint style="info" %}
If the template's previous status was Draft, both the status and the version number remain the same. If its previous status was Published, the status becomes Draft and the version number is incremented.
{% endhint %}

## Discard a draft template

When you edit and save a published template, its status changes to Draft and its version number is incremented. You can discard the draft and revert the template to its last published version. This action restores the Published status and the version number.

1. [Open](#open-a-template) the draft template.
2. Click **More** > **Discard version**.\
   The draft version of the template is replaced with the last published version of the template.

## Publish a template

You can publish only custom templates. Although it is more likely that you will publish a template whose status is Draft, you can also publish a template whose status is already Published.

Only the latest version of a published template is available for conducting assessments. If an assessment is conducted using a specific version of a template, that version remains unchanged for the assessment, even if a newer version of the template is published later.

1. [Open](#open-a-template) the custom template.
2. Edit the template.
3. Click **Publish**.\
   The template becomes available for conducting assessments.

{% hint style="info" %}
If the template's previous status was Draft, the status becomes Published and the version number remains the same. If its previous status was Published, the status remains the same and the version number is incremented.
{% endhint %}

## Copy a template

You can copy only Collibra templates.

Collibra templates are shown only if the **Show out of the box templates** setting in Collibra Console is enabled.

1. [Open](#open-a-template) the Collibra template.
2. In the sidebar, in the **Name** field, enter a name to identify your template.
3. If needed, edit the [template settings](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/template-fields-and-settings/template-settings.md).
4. Click **Save as New Template**.\
   The new template is created, and it opens in the Draft status with version V1. The template is also added to the **Custom templates** section on the **All templates** page.

## Export a template

You can export only published custom templates. Collibra templates can't be exported, but you can [copy](#copy-a-template) them and then export the copies. Use this feature when you want to import a template from your testing environment to your production environment. For example, to use a template in another Collibra environment, export the template and then import it into the other environment.

1. [Open](#open-a-template) the custom template.
2. Click **More** > **Export**.\
   The template is exported to your computer as a JSON file.

## Import a template

You can import exported custom templates. Use this feature when you want to import a template from your testing environment to your production environment. For example, to use a template in another Collibra environment, export the template and then import it into the other environment.

1. On the Assessments landing page, in the **Templates** section, click **Show all templates**.
2. In the **Custom templates** section, click **Import template**.\
   The **Import a template** dialog box appears.
3. Click the **Upload a JSON file** prompt, and then select the file you want to import. Alternatively, you can drop the file into the dialog box.
4. If needed, change the value in the **Template name** field.

   <div data-gb-custom-block data-tag="hint" data-style="success" class="hint hint-success"><p>For information about all the options shown in the dialog box, go to the next section (<strong>Template name</strong>).</p></div>
5. Click **Import**.\
   The template is imported, and it is added to the **Custom templates** section on the **All templates** page.

### Template name

The template you are trying to import may have the same name as that of a template already in Collibra. Here, the term *name* refers to the title of the template in the JSON file, not the file name.

* If a Collibra (out-of-the-box) template with the same name already exists, a new template is created without replacing the existing Collibra template. The imported template has the status Draft, version V1, and a number appended to its name to differentiate it from the existing template. For example, if the existing template's name is **Collibra**, the imported template's name becomes **Collibra (2)**. You can also rename the imported template in the **Template Name** field during the import.
* If a custom template with the same name already exists, you can choose one of the following options:
  * **Import as a new version of the existing template:** Replaces the existing template with your imported one. The existing template's ID is retained so that any integrations, such as workflows, continue to work. The imported template has the status Draft and its version is incremented. For example, if the existing template's version was V1, it now becomes V2.
  * **Import as a new template:** Creates a new template without replacing the existing one. The imported template has the status Draft, version V1, and a number appended to its name to differentiate it from the existing template. For example, if the existing template's name is **Custom**, the imported template's name becomes **Custom (2)**. You can also rename the imported template in the **Template name** field during the import.
* If a template with the same name doesn't exist, you can still import your template as a new version of an existing custom template using the following option:
  * **Import as a new version of the existing template:** Replaces the existing template you select in the **Template** field with your imported one. The imported template has the status Draft and its version is incremented. For example, if the existing template's version was V1, it now becomes V2. You can also rename the imported template in the **Template name** field during the import.

## Delete a template

You can delete only custom templates. If, however, the template you want to delete is already used in a draft assessment, you can't delete the template.

1. [Open](#open-a-template) the custom template.
2. Click **More** > **Delete**.
