Versions Compared
Version | Old Version 1 | New Version Current |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
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.
Image Removed
Image Added
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.
Image Removed
Image Added
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.
Image Removed
Image Added
Click the Save button.