> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use an XML file to specify UiPath export settings

> Specify ABBYY FlexiCapture export settings for UiPath in an XML file, so you can change them without editing the script code or the Document Definition.

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.

<Info>
  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.
</Info>

## Specify export settings in an XML file

<Steps>
  <Step title="Create the export script">
    [Create an export script](/flexi-capture/connectors/creating-an-export-profile-ui-path) 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.
  </Step>

  <Step title="Create the XML file">
    Name the file using this scheme, which lets you keep separate XML files for different Document Definitions:

    ```text theme={null}
    <Project name>_<Document Definition name>.xml
    ```
  </Step>

  <Step title="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.
  </Step>

  <Step title="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.
  </Step>
</Steps>

## 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.
