To create a variable that contains a variable
You can simplify the creation of user-specific links or shortcuts by using one or more variables to define another one. For example, in the procedure above, a Host name or IP address resource was defined as follows, using a variable named {Desktop} followed by a string, in this case the path:
{Desktop}.dept.company.com
You could instead create a variable named {Desktop_path} that resolves to the entire path above.
In another example of using multiple variables to create a single variable, you could replace dept in the path above with the user’s ou (organizational unit) attribute in the LDAP store. The below table summarizes the possibilities in the examples outlined here:
| AMC variable name | Resolves to... | Based on... |
| {Desktop} | john_doe-340 | rdp (LDAP attribute) |
| {dept} | Sales | ou (LDAP attribute) |
| {Desktop_path} | john_doe-340.dept.company.com |
AMC variable defined as follows:
|
| {Desktop_by_dept} | john_doe-340.Sales.company.com |
AMC variable defined as follows:
|
Variables cannot be nested more than two deep: you cannot create a variable that refers to a variable that in turn refers to another variable.