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 M-Files.

Specify export settings in an XML file

1

Select the export script

As your export script, use the M-Files - ExportScript - Configure by XML.cs file from the Samples folder of the connector distribution package.
2

Create the XML file

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

Register the settings folder

On the computer with a processing station, open the following registry key and set the XmlFolder string value to the path of the folder where the settings file is stored:
4

Enable the connector

In the parent key, set the MFiles string value to true:
For an example of an XML configuration file with detailed comments, see the default.config.xml file in the Samples folder of the connector distribution package.
The code of M-Files - ExportScript - Configure by XML.cs lists other possible naming schemes for your XML files.
For a description of every setting in the file, see M-Files export settings and field mapping reference.