Determining the correct key name
You can obtain the correct special variable key name from the Datacap Application Manager.
Procedure
To determining the correct key name:
- Start the Datacap Application Manager. From the Windows Start menu, select IBM Datacap Services > Datacap > Datacap Datacap Application Manager.
- Move the mouse pointer over the field. The smart parameter
and key name are displayed in the tooltip.
The tooltip shows the path to the images folder of the application. The dco_*[1] prefix is required if the application has multiple workflows. Substitute *[1] with the workflow name, for example:
@APPPATH(dco_Workflow2/vscanimagedir)If there is only one instance, you can use * instead, for example:
@APPPATH(*/vscanimagedir)Keys for connection strings are more complicated because the connection string is stored in the cs attribute rather than the v attribute. The v attribute is the default attribute, so you do not need to specify the attribute name. To obtain the value of a different attribute, you must specify the attribute name by using :<attribute_name>.
You used the following syntax earlier to obtain the connection string for the lookup database of the application:
@APPVAR(*/lookupdb:cs)Details of these special variables and a listing of key names are provided in the Special variables to access application configuration settings topic.