Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

To create an additional field that can store non-standard information, perform the following steps:

  1. Go to the (blue star) Configuration menu > General Configuration > Custom Fields and Columns > Custom Columns tab.

    Custom columns.png

  2. Click the Add Custom Column button. You will be directed to the Add Custom Column page.

    Add custom column0.png

  3. 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.

  4. Provide the Name from the new column.

  5. Decide whether the column should be Active, i. e. available for adding.

  6. Select the column’s Type:

    • Plain

    • HTML

    • Entity Name

  7. Leave the Role Name field empty.

  8. From the Script Language drop-down list, select the Groovy or Apache Velocity language.

  9. (Optional) Click the Editor Options button to open editor settings.

    Editor Options.png

  10. In the Expression field, enter the code for the new column.

  11. (Optional) To test if the new column is working correctly, perform the following steps:

    1. Click the Editor Options button.

    2. 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.

    3. Select the desired object.

    4. Scroll down to the Test Cases section and click the Add Test Case button. The Add new Test Case pop-up window will appear.

      Columns test.png

      1. Provide the Name for the test.

      2. Click the Save button. The newly created test will appear in the Test Cases section.

    5. Click the (blue star) 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.

      Test.png

  12. Click the Save button.

  • No labels