Access the Groovy script editor in Gateway depends on the purpose for which it is being used.
For Field Mapping Templates
To add or edit field mapping templates with Groovy code as follows:
- In the sidebar, select Configuration.
- Select the Customization tab.
- In the Field Mapping Templates section, Select Business Object from the list.
- Select Add... or Edit....
The Template wizard displays.
- If you add a mapping template, in the General tab, select the Template Type as Groovy.
- Follow the sequence to specify the Groovy code in the Mappings tab of the wizard.
For File Converters
- In the sidebar, select Configuration.
- Select the File Converters tab.
- Select Add... or Edit....
- The File Converter dialog box displays.
- In the Script section, enter the Groovy code and select Validate to check for errors.
- Select Save.