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

# XML ファイルを使用して UiPath のエクスポート設定を指定する

> UiPath 用の ABBYY FlexiCapture エクスポート設定を XML ファイルで指定すると、スクリプト コードや Document Definition を編集せずに変更できます。

XML ファイルを使用すると、スクリプト コードや Document Definition を編集せずにエクスポート設定を変更できます。XML ファイルの編集は、スクリプトを編集するよりもはるかに簡単です。

<Info>
  XML ファイルは、すべての ABBYY FlexiCapture Processing Station に配置する必要があります。また、UiPath にデータをエクスポートするすべてのステーション間で手動で同期する必要があります。
</Info>

<div id="specify-export-settings-in-an-xml-file">
  ## XML ファイルでエクスポート設定を指定する
</div>

<Steps>
  <Step title="エクスポート スクリプトを作成する">
    サンプル スクリプト `UiPath - ExportScript - Configure by XML.cs` を含む Document Definition で、[エクスポート スクリプトを作成](/ja/flexi-capture/connectors/creating-an-export-profile-ui-path)します。このスクリプトは、XML ファイルからエクスポート設定を読み取ります。
  </Step>

  <Step title="XML ファイルを作成する">
    Document Definition ごとに別の XML ファイルを使用できるよう、次のスキームに従ってファイル名を指定します。

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

  <Step title="XmlFolder レジストリ値を追加する">
    ABBYY FlexiCapture Processing Station が実行されているコンピューターで、以下の操作を行います。

    1. `HKEY_LOCAL_MACHINE\SOFTWARE\ABBYY\FlexiCapture\12.0\Connectors\UiPath` に移動します。
    2. `XmlFolder` という名前の新しい文字列値を作成します。
    3. 値のデータに、XML ファイルが格納されているフォルダーのパスを設定します。
  </Step>

  <Step title="UiPath レジストリ値を追加する">
    1. `HKEY_LOCAL_MACHINE\SOFTWARE\ABBYY\FlexiCapture\12.0\Connectors\` に移動します。
    2. `UiPath` という名前の新しい文字列値を作成します。
    3. 値のデータを `true` に設定します。

    `HKEY_LOCAL_MACHINE\SOFTWARE` レジストリ ブランチにキーが存在しない場合は、作成してください。
  </Step>
</Steps>

<div id="reference-files">
  ## 参照ファイル
</div>

詳細なコメント付きの構成 XML ファイルのサンプルについては、ABBYY FlexiCapture Connector for UiPath 配布パッケージの `Sample` フォルダーにある `default.config.xml` を参照してください。

`UiPath - ExportScript - Configure by XML.cs` のコードには、XML ファイルに使用できる他の命名スキームも記載されています。
