Custom Groovy Templates

The Custom Groovy Templates preference is used to record a list of custom groovy templates in the system. The choice of values are selected using an autocomplete or dropdown list.

Location

Custom Groovy Templates list

The table of Custom Groovy Templates will display the name, description, and status for the custom groovy template.

Configuration

When adding or editing a custom groovy template, users are presented with the below form to complete. Always press Save in the bottom right-hand corner of the browser after adding or editing a custom groovy template.

Edit Custom Groovy Template

Code (Required)

A unique code for the custom groovy template. This can be the same as the name but must be unique throughout the entire system.

Name (Required)

A name for the custom groovy template. It is advisable to keep this unique.

Short Help Text (Required)

A short help text for the custom groovy template.

Active

A checkbox to activate/deactivate an entry. If the preference is not active, it will not be selectable in any drop-down lists.

Full Help Text

A full help text for the custom groovy template.

Groovy Code

The groovy code for the custom groovy template. This code will be executed when the custom groovy template is used in the system.