Custom Code
Custom Code is user-written code that can be added to a service (or a field) to be executed before or after data has been extracted.
To add Custom Code to a service:
Click on a service box to open the Manage Service view.
On the Manage Service view, click on Add Utility.
- Scroll down to the Utilities section, and select Custom Code.
The Custom Code service box will appear within the parent service box.
To start writing Custom Code, click on the Scripting button.
The code editor view will appear. The code can be written in the Code tab.
The code language can be selected from the dropdown box.
The imports required to write the code, can be added from the Imports tab.
To compile the code, click on Save.
Compilation Results are shown at the bottom of the Code Editor.
- The code will execute after the batch of documents have been processed