To configure and activate a custom export, complete the following steps.
- Open the project file with the Designer module.
- Navigate to Definition mode and highlight the UserExits class.
- Right click on the class and select Show Script.
- Navigate to the UserExitCustomExport user exit subroutine.
-
Configure the parameters listed in the following table.
Parameter name Description pWorkdoc This is the standard Workdoc object that provides access to all document field information, including the originally extracted line item data, the document classname, the document OCR text, and the document file name. ExportPath This is the destination folder for file output. This value is taken from the export file path configured on the RTS instance that is responsible for document export. If the RTS instance path is blank, the export path is set to the value held against the system configuration EXP_VL_DefaultExportPath parameter. strDocLink This is the path to the image of the document, which can be stored in a storage director or the batch directory, or as a URL, to retrieve the image from an archive. - Activate the custom export by setting the CustomExport column in the BRWEXP table to True.