Skip to main content
One advantage of using an XML file is that you don’t have to edit the script code or the Document Definition. All modifications can be made by editing the XML file, which is much simpler than editing the script code. However, the XML file should be located on every FC processing station. And you will also have to synchronize it manually on all of the FC stations from which data is to be exported to Pega. To specify export settings in an XML file:
  1. As your export script, use thefile named “Pega - ExportScript - Configure by XML.cs” from the ZIP archive containing the PEGA files.
  2. Create an XML file named “<Project name>_<Document Definition name>.xml.” This naming scheme will allow you to have multiple XML files for different Document Definitions.
  3. In the registry of the computer with a processing station, locate HKEY_LOCAL_MACHINE\SOFTWARE\ABBYY\FlexiCapture\12.0\Connectors\Pega and in its “XmlFolder” string value field, specify the path to the folder where the settings file is to be stored.
  4. In the registry of the computer with a processing station, locate the HKEY_LOCAL_MACHINE\SOFTWARE\ABBYY\FlexiCapture\12.0\Connectors\ and set its “Pega” string value field to true.
For an example of an XML configuration file with detailed comments, please see the file named “default.config.xml” that is provided with the PEGA.