<Variable> element

The <Variable> element specifies the name and value of a custom user variable. Variable names do not require a specific format, but you need to ensure that the pattern does not appear normally within your data. The value of a variable can include environment variables, which will be expanded before being processed.

XML Attribute NameDescriptionAllowed Values

name

Required. The name of the variable

Any string value that is valid in an XML attribute

value

Required. The value to substitute with when the variable name is found

The value of the variable must match the data type of the destination attribute.

Example

<Variables>
   <!-- A variable containing an environment variable -->
   <Variable name="#domain#" value="%userdomain%">

   <!-- A variable containing a fixed string -->
   <Variable name="#EnviromentName#" value="Development">
</Variables>

Last updated