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

# Import labeled documents from FlexiCapture

> Export labeled documents from ABBYY FlexiCapture using FCAdminTools and import them into an Advanced Designer skill, with table-block conversion rules.

Reuse documents already labeled in ABBYY FlexiCapture by exporting them to a folder, then importing that folder into your Advanced Designer skill.

## Prepare the export folder

Export labeled documents from FlexiCapture by running `FCAdminTools.exe`:

```bat theme={null}
FCAdminTools.exe ExportLabeling [/LabelingSource=<LayoutTraining|ClassifierTraining|WorkBatches>] [/BatchName=<name of a batch in the specified group of batches>] [/DocumentDefinition=<name of the document definition>] [/Project=<path to the project>] [/TargetFolder=<path to the target folder>]
```

| Option                                                                  | Description                                                                                                                                                                                                                                                              |
| :---------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `/LabelingSource=<LayoutTraining \| ClassifierTraining \| WorkBatches>` | Group of batches to export. Default: `LayoutTraining`. **Note:** Advanced Designer doesn't currently support importing `ClassifierTraining` batches.                                                                                                                     |
| `/BatchName=<batch name>`                                               | Name of the batch to export. Must belong to the group given by `LabelingSource`. If empty, all batches in the group that reference the specified document definition are exported. May be empty if `LabelingSource = ClassifierTraining`.                                |
| `/DocumentDefinition=<name>`                                            | Document definition to export. Required when the project contains multiple document definitions. May be empty if `LabelingSource = ClassifierTraining`. **Note:** Only single-section document definitions can be exported — multisection definitions are not supported. |
| `/Project=<path>`                                                       | Path to the project's `.fcproj` file.                                                                                                                                                                                                                                    |
| `/TargetFolder=<path>`                                                  | Destination folder for the export. Created automatically.                                                                                                                                                                                                                |

The export folder contains:

* `DocumentDefinition.json`
* `SkillSettings.json` (only for `LayoutTraining` and `WorkBatches` groups)
* A `<Document name>` subfolder for each document, containing the TIFF image and `Labeling.json` (labeling in the extracted-data format)

<Note>
  The `ExportLabeling` command requires FCAdminTools from FlexiCapture 12 Release 4 Update 2 Patch 3 or later. Upgrade FlexiCapture before exporting if your project was created in an older version.
</Note>

## Import the folder into Advanced Designer

Once the export folder is ready, follow the standard [Import labeled documents](/vantage/documentation/advanced-designer/labeling/labeling#import-the-labeled-documents) procedure on your Advanced Designer skill.

### Field merge behavior

Imported labeling is merged with the existing labeling. Fields are matched by name and type, and any unmatched imported field is added to the skill as a new field.

### Table-block conversion

Vantage tables can only contain text fields and don't support nesting. FlexiCapture table blocks are converted on import:

| Has nested tables | Has non-text fields | Resulting field in Advanced Designer                                                                       |
| :---------------- | :------------------ | :--------------------------------------------------------------------------------------------------------- |
| No                | No                  | Table                                                                                                      |
| No                | Yes                 | Group with multiple items                                                                                  |
| Yes               | No                  | Group with multiple items, with nested groups with multiple items and a table at the deepest nesting level |
| Yes               | Yes                 | Group with multiple items with nested groups                                                               |

## Related topics

<CardGroup cols={2}>
  <Card title="Labeling documents" icon="tag" href="/vantage/documentation/advanced-designer/labeling/labeling">
    Reuse labeled documents from training sets, manual review, or FlexiCapture.
  </Card>

  <Card title="Labeling guidelines" icon="bullseye" href="/vantage/documentation/advanced-designer/labeling/guidelines">
    Best practices for labeling fields cleanly and consistently.
  </Card>
</CardGroup>
