Skip to main content
1

Open Export Settings

In the Document Definition editor, select Document Definition → Export Settings.
2

Add a custom export profile

Click Add, and select Custom export (script) in the Type field.
3

Set the export scope

Specify whether export is obligatory, and which documents (with errors, without errors, or both) to export. Click Next.
4

Write the script

Select the scripting language. Click Edit Script, type the script code in the editor window that opens, and click Next.
5

Finish

Enter an export profile name and click Finish.