Skip to main content
An XML file lets you change the export settings without editing the script code or the Document Definition. Editing the XML file is much simpler than editing the script.
The XML file must be present on every ABBYY FlexiCapture Processing Station, and you have to synchronize it manually across all stations that export data to UiPath.

Specify export settings in an XML file

1

Create the export script

Create an export script in the Document Definition that contains the sample script UiPath - ExportScript - Configure by XML.cs. This script reads the export settings from the XML file.
2

Create the XML file

Name the file using this scheme, which lets you keep separate XML files for different Document Definitions:
3

Add the XmlFolder registry value

Work on the computer running the ABBYY FlexiCapture Processing Station.
  1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ABBYY\FlexiCapture\12.0\Connectors\UiPath.
  2. Create a new string value named XmlFolder.
  3. Set its value data to the path of the folder that holds the XML file.
4

Add the UiPath registry value

  1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ABBYY\FlexiCapture\12.0\Connectors\.
  2. Create a new string value named UiPath.
  3. Set its value data to true.
If the keys are not present in the HKEY_LOCAL_MACHINE\SOFTWARE registry branch, create them yourself.

Reference files

For a sample configuration XML file with detailed comments, see default.config.xml in the Sample folder of the ABBYY FlexiCapture Connector for UiPath distribution package. The code of UiPath - ExportScript - Configure by XML.cs also lists other possible naming schemes for the XML files.