Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
The override functionality allows you to change the column value and attributes in the child tables extended from the base table. For example, a column override changes the default value of the Impact field from Low in the Task table to Medium in the Incident table.
Tip |
---|
Role required: admin. |
Define a column override
- Navigate to System Definition → Column Overrides.
- Click New and fill in the fields.
- Click Save or Save and Exit to apply the changes.
Column Override form fields
Field | Mandatory | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Base Table | Y | Select a table containing the field to override. | |||||||||||||||
Table | Y | In this dictionary field, you can select the child table that will be affected by overriding. | |||||||||||||||
Column | Y | In this dictionary field, you can select a column to be overridden. | |||||||||||||||
Display by Ref Override | N | Select this checkbox if you need to override the Display by Ref setting, which defines the column to be displayed instead of reference IDs. | |||||||||||||||
Default Value Override | N | Select this checkbox to display the Default Value field.
| |||||||||||||||
Dependent on Column ID Override | N | Select this checkbox to display the Dependent on Column field.
| |||||||||||||||
Reference Qualifier Override | N | Select the checkbox to display the Reference Qualifiers field set, which overrides the reference qualifier for the field on the extended table.
| |||||||||||||||
Title Override | N | Select the checkbox to display the Title field, which overrides the field title in the extended table. That is, a child table will inherit the properties of the parent table's column, but the title will be different.
| |||||||||||||||
Mandatory Override | N | Select the checkbox to display the Mandatory checkbox that overrides the behavior when the field on the extended table must contain a value to save a record. | |||||||||||||||
Read Only Override | N | Select this checkbox to display the Read Only checkbox that overrides the behavior when a user can change the field value in the extended table. |
Override example
As an example, you may need to override a column for which the base table and the child table are the same. This can help as a workaround in case if you need to change some protected column options before they are changed correctly.
Warning |
---|
When doing so, please keep in mind that incorrect changes may harm your system, so make sure to double-check the changes and verify them on a test instance if possible. |
To perform such an override, fill in the fields in the column override form as described below:
- Base Table – select a base table.
- Table – select the same table.
- Column – select a column you need to override.
- Specify an attribute you are going to override. These column attributes can be overridden:
- Mandatory
- Read Only
- Display by Ref
- Reference Qualifier
- Dependent on Column
- Default Value
- Specify the new attribute value.
- Click Save or Save and Exit to apply the changes.
To be more specific, have a look at the screenshot below. It shows how the Mandatory attribute, belonging to the IT Service column related to the Agreement table, is overridden.
Define an override for choice fields
When creating a choice-like field, for example, Choice, it is recommended to set text values in the Value field to increase code readability. For example, it can be Incoming, or Active, or Failed values.
Regarding task states, it is recommended to make values numerical. This can help with selection construction.
Table of Contents | ||||
---|---|---|---|---|
|