Provisioning template variables

Template variables allow for greater portability and customizability in templates. For example, a template may contain very specific filenames to copy, paths to install to, or an IP address to export files from. But with variables in place of these specific items, the template can address more situations or locales because you can simply swap out the variables in the XML code to replace those specific items.

Watch a related video (7:23)

There are four types of variables. They are (in order of precedence):

Action: Variables that only apply to a specific action in a specific template.

Device: Variables assigned to a specific device.

Template: Variables that only apply to a specific template.

Global: Variables that are public (available) to all templates.

Variables are case-sensitive. It's imperative that you match case when implementing variables.

Related topics

Define a device variable

Define a public (global) variable

Define a template variable

Define an action variable

Creating unique identifiers for new devices