Some string attributes in the AWM model support the use of variable references. Referenced variables can be defined dynamically as part of a string and can reference AWM properties, environment properties, and certain static variables. See the table below for more information. If AWM properties are referenced, values are resolved at runtime and preferably taken from the “previous tool” execution context pool, if available.
Variable references are only resolved by the following attributes:
Attributes "Title", "Description" and "Help Text" of modeled dialogs. See Open Modeled Dialog in the AWM function package for more information.
References can be defined by using the Start Reference and End Reference symbols (default "&" and ".") which are defined in the application options. See Application Options for more information. It is possible to define a value containing several references as well as static characters. The following table shows the syntax of all variables that are available:
|%<env-var>||Reference to an environment variable on the client’s local operating system||&%PUBLIC. = C:\Users\Public|
|<property ID>||Reference to a property in the execution context||&PROP_WorkspaceFilename. = /MyProject/MyFile.txt|
|wspath||Path of the active Eclipse Workspace on the client’s local machine||&wspath. = C:\workspaces\workspace1|
The following examples show the definition of a dynamic file path:
Attribute value of "Name_Physical" (File Descriptor):