To create an additional field that can store non-standard information, perform the following steps:
Go to the Configuration menu > General Configuration > Custom Fields and Columns > Custom Columns tab.
Click the Add Custom Column button. You will be directed to the Add Custom Column page.
From the Class Name drop-down list, select the scope for the new column. It will define the area of the XTRF where this column will be available for adding.
Provide the Name from the new column.
Decide whether the column should be Active, i. e. available for adding.
Select the column’s Type:
Plain
HTML
Entity Name
Leave the Role Name field empty.
From the Script Language drop-down list, select the Groovy or Apache Velocity language.
(Optional) Click the Editor Options button to open editor settings.
In the Expression field, enter the code for the new column.
(Optional) To test if the new column is working correctly, perform the following steps:
Click the Editor Options button.
In the Test Objects field start typing the name of the entitiy that can be used for testing. The list of appropriate objects will appear.
Select the desired object.
Scroll down to the Test Cases section and click the Add Test Case button. The Add new Test Case pop-up window will appear.
Provide the Name for the test.
Click the Save button. The newly created test will appear in the Test Cases section.
Click the icon to run the test. If the test is successful, you will see the Test successful notification and a green check mark next to the test.