AFP > Variables and metadata

Variables and metadata
You can assign variables to the device driver settings at both Job Begin and Document Begin.
To assign a variable to a device driver setting
You cannot enter a variable into the property field, you must use the Alias method to enter the variable.
1
On the Device Driver Settings tab, at Job Begin or Document Begin, select the device driver property. The selected property is displayed as an Alias option at the bottom of the Runtime Connector Settings dialog box.
2
Select Variable and enter the variable in the Variable field.
Example 12
In this example, the variable $zip is assigned to the property .Value (TLE 1).
1
Select .Value (TLE 1) on the Device Driver Settings tab at Document Begin. Alias for Option: .Value (TLE 1) is displayed at the bottom of the Runtime Connector Settings dialog box.
2
Select Variable and enter $zip in the Variable field.
 
Assigning metadata values to comments and TLE indexes
The text strings that specify TLE values and NOP comments can include metadata generated for post-processing purposes (bundling, sorting, enveloping, etc.). You include the metadata as variables using the following format:
%{MetadataName}
For example, to add the number of sheets in a document to a comment, you enter %{NumSheets}in the comment field.
OpenText StreamServe 5.6 Updated: 2013-03-01