Templates are a set of parameters saved from an existing service configuration. This allows you to easily create new services that share the same settings.

You can create a template from an existing service configuration. The template is stored separately from the services.\
Service templates include:

- Constants: all parameters that are common to all services sharing the template.
- Variables: parameters that depend on the service.

Selecting a template when creating a service replaces the default settings with the template presets.
It still requires entering missing variable information identified in the user interface.

<blockquote data-callout="note"><p>You can export variables to a CSV file for mass configuration.</p></blockquote>

Changing a template requires:

- Changing the template name.
- Version management is implemented (can embed versions).

## Display templates

1. Click **Templates** from the left-side menu panel. If any, the available templates display in a table.

2. You can edit the number of rows displayed or use the search bar to filter the display.

### Template parameters

<table>
  <thead>
    <tr>
      <th style="text-align: left">Column</th>
      <th style="text-align: left">Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: left">Name</td>
      <td style="text-align: left">Unique template name.</td>
    </tr>
    <tr>
      <td style="text-align: left">Processing Type</td>
      <td style="text-align: left">The service processing type.</td>
    </tr>
    <tr>
      <td style="text-align: left">No. of Services</td>
      <td style="text-align: left">Total number of services in your solution that are configured with the template.</td>
    </tr>
    <tr>
      <td style="text-align: left">Creation date</td>
      <td style="text-align: left">Template creation date (YYYY-MM-DD) and time (HH:MM:SS).</td>
    </tr>
    <tr>
      <td style="text-align: left">Actions</td>
      <td style="text-align: left">Export or delete.</td>
    </tr>
  </tbody>
</table>

## Create a template

To create a template, follow these steps:

1. [Display services](/traditional-products-and-appliances/components/controller/services#display-services).

2. Click `Edit` icon and ensure that service parameters comply to expected configurations.

3. From the **Services** page, Click the 3-vertical dots icon then select **Save as template**.

4. Enter a unique **Name** and click **Create**.

5. [Check that the template displays in the **Templates** table](/traditional-products-and-appliances/components/controller/templates#display-templates).

6. You can [create a new service from the template](/traditional-products-and-appliances/components/controller/templates#create-a-new-service-from-a-template).

## Delete a template

<blockquote data-callout="note"><p><strong>Deleting a template</strong> has no impact on services created from that template.</p></blockquote>

To delete a template, follow these steps:

1. Display templates.

2. Click `Delete` icon in the **Actions** column.

3. Confirm the action if prompted. The template is deleted and no longer displays in the table.

## Create a new service from a template

When creating a new service, you can apply a template to automatically insert existing service configuration parameters.

<blockquote data-callout="note"><p>You <strong>can edit any service settings</strong>, even if the service was created from a template.</p></blockquote>

Before you start, [ensure a template already exists](/traditional-products-and-appliances/components/controller/templates#display-templates).

1. Click **Services** in the left-side menu panel.

2. Click **Add service** then select a service type from the list to display options.

3. Next to the **Template** parameter, select a template from the list of available templates.

4. Click **Save**. The service is created and displays in the **Services** grid.

5. Click `Edit` icon to edit or to check the service configuration for accuracy.

## Export a template

You can export templates to share them on different MediaKind Controllers.

1. [Display templates](/traditional-products-and-appliances/components/controller/templates#display-templates).

2. Click  to export. The file is downloaded in relation to your web browser download settings.

<blockquote data-callout="caution"><p>The download date is in the downloaded file name. The date is in the following format: MM/DD/YYYY.</p></blockquote>

## Export a template variables form

You can download template variables to use in massive configurations.

1. [Display templates](/traditional-products-and-appliances/components/controller/templates#display-templates).

2. Click  to export. A .csv file is downloaded in relation to your web browser download settings.

<blockquote data-callout="caution"><p>The download date is in the downloaded file name. The date is in the following format: MM/DD/YYYY.</p></blockquote>

## Import a template

Before you start, ensure a template file exported from a different Controller environment is available.

1. [Display templates](/traditional-products-and-appliances/components/controller/templates#display-templates).

2. Click **Actions**.

3. Select **Import template**.

4. Click **Select file** to choose a file, then click **Import**.

   The template is uploaded and available in the **Templates** table.

<blockquote data-callout="caution"><ul>&#10;<li>Template names must be unique.&#10;<ul>&#10;<li>You are unable to import a template if the template with the same name already exists on this Controller.</li>&#10;</ul>&#10;</li>&#10;</ul></blockquote>
