Types of environment variable
There are two types of environment variable in ABBYY FlexiCapture:- String This is a text variable.
- ADO connection string This a string used to connect to an ODBC-compatible database.
Creating and editing environment variables
To create a new environment variable:- In the Project Properties dialog box, click the Environment Variables tab and then click the New… button.
- In the New Environment Variable dialog box, select a type and enter a name for the environment variable. You will not be able to change the type of the environment variable later.
- Complete the Value field depending on the type of your environment variable:
- For an environment variable of type String, enter a value (e.g. the path to a folder or e-mail address).
- For an environment variable of type ADO connection string, specify the path to the database, the access parameters, and any other connection parameters required by the driver that you use.
- Enter any necessary information in the Description field.
Using environment variables
- Environment variables of the String type can be used to:
- specify a source of input images;
- specify settings that determine how documents are exported to files and images.
-
Environment variables of type ADO connection string can be used to connect to various databases:
- When creating a database check rule
- In a Document Definition when setting up export
- In a Document Definition when connecting a data set to an external database
- In field properties, when specifying value constraints
- Environment variables of any type can be used in scripts. Use the EnviromentVariables property of IProperties, which is available in the IProject interface.
