---
title: Parameterize a Template
slug: edgemanager/lem-user-ui/product-features/templates/parameterize-a-template
description: Learn how to parameterize a template. 
docTags: 
createdAt: 2022-09-28T20:15:09.000Z
---

Templates allow you to preconfigure an edge device's associated devices. Parameterizing a template allows you to specify variables for selected attributes within the template, which can then be applied to specific devices.

- You can convert an existing template to a parameterized template.
- You can add variables and parameterize a template from the *Templates&#x20;*&#x70;ane.
- You can preview the template and download the JSON to verify the variables on the template, and then upload the template.

Review the [Apply a Parameterized Template During Activation](docId\:EPSYMUsWZ9uHWcMWMnyaX) how-to guide.&#x20;

# Before You Begin

- Upload at least one template. See *Load template from file&#x20;*&#x69;n [Templates](docId\:Me1x3I4rPT_IIgNPCY1GA).&#x20;
- Determine which attributes in the selected template need a variable.

# Additional Details

You can do the following:

- Apply the parameterized template to an existing device.
- Apply the parameterized template to an existing device during activation.
- Parameterize **Company**, **Project**,**&#xA0;**&#x6F;r **Instance&#xA0;**&#x74;emplates.
- Select any attribute in a template to create a variable.

# Access Parameter Template UI

1. Log in to Litmus Edge Manager.
2. Select a company.
   The *Projects* pane appears.
3. From the Navigation panel, select **Templates**.
4. Click the **Actions** icon next to a template which has not been parameterized and select **Parameterize Template**.
   The *Template Details* pane opens, displaying the *Variables&#x20;*&#x61;nd *Parameterized Template* panels.

Refer to the following actions you can take on the *Templates Details* pane.

:::hint{type="info"}
**Note**: When parameterizing the country variable, refer to the list of [country codes for ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) when configuring the **Country\_Code**.&#x20;
:::

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/xxo5kJ_wafKecfDIf3IT3_2023-08-0811-46-56.png "Templates: Templates Details")

| **Action**                               | **Details**                                                |
| ---------------------------------------- | ---------------------------------------------------------- |
| \[1] **Show filter**                     | Search by *Name*, and *Description*                        |
| \[2] **Add variable**                    | Add a new variable to the selected template.               |
| \[3] **Action menu**                     | - *Edit*
- *Delete*                                        |
| \[4] **Edit variable**                   | Modify an existing variable within the template.           |
| \[5] **Expand Template Variables&#x20;** | Expand the section to view all template variables.         |
| \[7] **Preview Template**                | Preview the template to review its structure and contents. |
| \[8] **Delete parameterized template**   | Delete the selected parameterized template.                |

# More On Edit variable

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/CrKyXloFcqtmGzGSDWT-X_image.png" size="80" width="401" height="360" caption="Edit variable 1/2" position="center" showCaption="true"}

| **Action**                | **Details**                                                    |
| ------------------------- | -------------------------------------------------------------- |
| \[12] **Select Variable** | Select a variable to edit from the list of existing variables. |
| \[13] **Done**            | Confirm the editing process is complete.                       |

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/TT-iuGxJp_d1qXczBxsZk_image.png" size="80" width="432" height="363" caption="Edit variable 2/2" position="center" showCaption="true"}

| **Action**                            | **Details**                                                  |
| ------------------------------------- | ------------------------------------------------------------ |
| \[14] **Revert to the default value** | Revert the selected variable to its default value if needed. |

