User Guide | 2019.2
Custom field codes
A field code is a variable that is replaced with a specific field value. Custom field codes can be used for issue, requirement, requirement document, test case, and test run custom fields displayed in the Add, Edit, or View dialog boxes, test variants, and event custom fields configured in the workflow. Custom field codes use the same format as general field codes except they start with a Z.
Control name code | Value code | Label code | Static field number |
---|---|---|---|
%Z_customfield_CN% | %Z_customfield_V% | %Z_customfield_L% | Custom field # |
- To find a custom field code, choose Tools > Administration > Custom Fields. Select an item Type. Custom field codes are displayed in the Field Code column.
- To find an event custom field code, choose Tools > Administration > Workflow. Select an item Type. Click the Events tab. Select an event and click Edit. Click the Fields tab. Custom field codes are displayed in the Field Code column.
- Custom fields are dynamically built based on the project. In one project, %customfield1% can be a check box while in another project %customfield1% is an edit box.
- If you use pop-up menus for custom fields, specify the internal record ID value for each entry.
- If you use custom fields with static SoloSubmit web pages, you need to use the static field number. To find this number, generate a SoloSubmit page and view the source. Copy the static field number from the source document.
- If you are using custom fields with dynamically generated SoloSubmit pages, %DEFECTCUSTOMFIELDS% returns a list of all custom fields.