Export script

What it does

This script allows you to customize export.

The script rule is configured on the Export Destinations tab of the Document Definition properties.


Name Type Access Description
Document IDocument Read-only The document to be exported
Processing IProcessingCallback Read-only The object for logging the information about processing

Note: Information on export results must be written to the Document.Action field.

Procedures that you wish to use in more than one export script be written to the global export module, which can be accessed from the script editor. From the drop-down list on the toolbar of the script editor, select Export Global Script Module. The global export module can also be accessed from the Document Definition editor (Document Definition → Script Modules → Export Script...).

If classes and methods of an external assembly are used in the script or global module, the assembly file must be attached on the .Net References tab of the Document Definition properties.

15.03.2021 9:22:24

Please leave your feedback about this article