Add the connector assemblies to the Document Definition before you create an export profile. For more information, see Add the assemblies to a Document Definition.
Create the export profile
1
Open the project
On the Project Setup Station, open your ABBYY FlexiCapture project.
2
Open the Document Definition
- Click Project → Document Definitions to open the list of Document Definitions available for the project.
- Select the Document Definition you want to specify new export settings for.
- Click Edit.
3
Open the export settings
Click Document Definition → Export Settings.
4
Start the export profile wizard
Click Add.
5
Select the destination type
On the Select the Type of Destination step:
- Select Custom export (script) from the Type drop-down list.
- Leave the other settings unchanged, or modify them as described in Export settings.
- Click Next.
6
Add the export script
On the Script Export step:
- Click Edit Script.
- Select the C# .Net script language.
- Paste one of the sample scripts into the script editor.
- Click Next.
7
Name the export profile
On the Select the Destination Name step, specify a name for your export profile, and then click Finish.
8
Enable the export profile
The new export profile appears in the list of available export profiles in the export setup dialog box. Select the box next to the profile in the Enabled column so that ABBYY FlexiCapture uses it at the export stage.
9
Publish the Document Definition
Click OK and close the Document Definition editor, and then click Publish.
Sample scripts
Both sample scripts are in theSamples folder of the ABBYY FlexiCapture Connector for UiPath distribution package. They differ in where the export settings are stored.
For a description of the options that either method sets, see Specify UiPath export options.
The code of
UiPath - ExportScript - Configure by XML (Attended service).cs also lists other possible naming schemes for the XML files.