Create the export profile
1
Open the project
Open the project on the Project Setup Station.
2
Clear the export root path
Click Project → Project properties → General and make sure that the Export root path field is empty.
3
Add a new export profile
- Open the list of Document Definitions in the project.
- For the required Document Definition, open the Document Definition Editor and go to Export settings.
- Add the New export profile and choose Export to data files in the Type field.
- Select Save document images if you need the images.
4
Set the condition for applying the profile
Select Errors are irrelevant to export both documents without rule errors and documents with them.
5
Set the target
- Select Create folder structure and filename using template in the Target field.
- Leave the Export path field empty.
6
Specify a template for naming export files
Click Template → Edit, select Advanced in the View field, and then use tags to specify the filename template.A batch created by the UiPath ABBYY FlexiCapture activity holds the registration parameter You can also use any tags from the Tags list.
FileNameWithoutExtension, which carries the name of the source file. To name export files after their source file, specify this filename template:7
Set the file name conflict option
Set Add suffix to name of new file. The value of the If file exist option is irrelevant in this case.
8
Select the data file format
Select XML Document (
*.xml) in the File type field.An XML export file is what lets the activity get the array of document fields. At this step you can also define the fields you want to export and specify names for them, by clicking Set Up Field Mapping.9
Set the image options
- Select Save images with data.
- Select the Template of image file names, either the same as the data or a separate template.
- Select Redact sensitive data on images if you need it.
- Select the image file format.
10
Name and enable the profile
- Set the name for the created export profile.
- Select the Enabled flag for the new profile.
- Select the Critical flag to make the profile required for execution.
11
Publish the Document Definition
Save the changes in the Document Definition, and then publish its new version.
