KNOWLEDGE BASE ARTICLE

Export Event Routines

Custom Export event routines (*.exe files) can be run to process documents or related index values when batches are exported. These can be helpful in carrying out special functions that are required during export that may otherwise not be possible. Typical uses might be to insert index values into databases, make changes to documents, rename or move files etc.

Any index value can be passed into the script as a programme argument. These program arguments that are passed into the script are configured using the Umango argument configurator as seen below.

Sample Argument Configurator

If a non 0 exit code is returned an export error is fired at batch export time.

The sample code below shows how to read program arguments ready for data manipulation and processing.

Sample OnExport event code

Link to this article http://umango.com/KB?article=62