Syntax for variables in templates
If you expect the value of a variable to span multiple lines, then enclose the variable in brackets:
[$$
...
$$]
...
$$]
The following example of a template file (.arm file) submits a new employee name into the Employee Information form:
Schema: Employee Information
Server: server1
Action: Submit
Short Description !8!: $DATABASE$
Submitter !2!:$USER$
Employee Name !VEmployee Name!: [$$#$$VEmployee_Name$$#$$]
Server: server1
Action: Submit
Short Description !8!: $DATABASE$
Submitter !2!:$USER$
Employee Name !VEmployee Name!: [$$#$$VEmployee_Name$$#$$]
The characters between the exclamation mark exactly match the field ID or database name of the field on the form. The variable is called VEmployee_Name. Because the variable might span multiple lines, it is enclosed within brackets [$$...$$].
When you send a submit instruction, you can also provide a value for the variable $$VEmployee_Name$$, as shown in the following example:
Schema: Employee Information
Server: server1
Action: Submit
Short Description !8!: $DATABASE$
Submitter !2!:$USER$
!VEmployee_Name!: [$$Joe Smith$$]
Server: server1
Action: Submit
Short Description !8!: $DATABASE$
Submitter !2!:$USER$
!VEmployee_Name!: [$$Joe Smith$$]
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*