Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Override The override functionality allows you to change the column values value and attributes in the child tables extended from the base tablestable. 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. |
To create a column override, complete the following steps:
- Navigate to to System Definition → Settings → Column Overrides.
- Click New and fill in the fields.
- Click Save or Save and Exitexit to apply the changes.
Override example
As an example, you may need to override some column where the base table and the child table are the same. This can help as a workaround in case you need to change some protected column options before they are changed correctly.
Note |
---|
When doing this, keep in mind that inaccurate changes can harm your system, so double-check, and, if possible, verify first on some testing instance. |
To perform such override, fill in the fields 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. The following column attributes can be overridden:
- Mandatory
- Read Only
- Display by Ref
- Reference Qualifier
- Dependent on Column
- Default Value.
- Specify new attribute value.
- Click Save or Save and Exit to apply changes.
The screenshot below shows the Mandatory attribute overriding of the IT Service column related to the Agreement table.
Image Removed
Defining an override for choice fields
When creating a field of Choice-like type (for example, Choice), it is recommended to set text values in the Value field to increase code readability. For example, it can be Incoming, Active, or Failed values.
As for task states, it makes sense to make values numeric; this can help with selection construction in codeColumn Override form fields
Field | Mandatory | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Base table | Y | Select a table containing the field to override. | |||||||||||||||
Table | Y | Select the child table that will be affected by overriding. | |||||||||||||||
Column | Y | Select a column to be overridden. | |||||||||||||||
Display by ref override | N | Select this checkbox to use the values of the Column as the Display Name in Reference fields that refer to the Table. | |||||||||||||||
Default value override | N | Select this checkbox to display the Default value field.
| |||||||||||||||
Dependent on column 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
For example, you need to override the Email field in the User (user) table. The field should be non-mandatory and have a new title Work mail in the Employee (employee) table. At the same time, the Email field on the User form must remain mandatory with the same title.
To create the appropriate override, complete the following steps:
- Create an override entry via the navigator menu or the Related List of the Email column record.
- In the Table field, select the level at which the override will be performed. All tables containing the column are available for the selection.
- Select the Mandatory override checkbox and specify a new mandatory value. In this case, leave the Mandatory checkbox clear.
- Select the Title override checkbox and enter a new title value in the Title field.
- Save the record.
Warning |
---|
When doing so, keep in mind that incorrect changes may harm your system, so double-check the changes and verify them on a test instance if possible. |
Table of Contents | ||||
---|---|---|---|---|
|