Parameterize a Template
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 pane.
- 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 how-to guide.
- Determine which attributes in the selected template need a variable.
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, or Instance templates.
- Select any attribute in a template to create a variable.
- Log in to Litmus Edge Manager.
- Select a company. The Projects pane appears.
- From the Navigation panel, select Templates.
- 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 and Parameterized Template panels.
Refer to the following actions you can take on the Templates Details pane.
Note: When parameterizing the country variable, refer to the list of country codes for ISO 3166 when configuring the Country_Code.
[1] Show filter / Hide filter: Search by Name, and Description
[2] Add variable
[3] Action menu:
- Edit
- Delete
[4] Edit variable
[5] Expand Template Variables
[6] Save parameterized template
[7] Preview Template
[8] Delete parameterized template
[12] Select Variable
[13] Done
[14] Revert to the default value