In SimpleOne, the UI actions can be inherited, and then you can override their logic, scripts, order, name, or any other feature.
Inheritance rules
- The following UI actions are applied to forms and lists:
- Actions created for the current table.
- Inherited actions that are not overridden by the Overrides by attribute for the current table.
- Inherited actions that are overridden for the current table.
- A UI action inherited from a parent table with the override on a child table cannot be inherited further. An inherited UI action from a child table can be inherited by at the third level.
- A UI action inherited by a child table with the override at the next level of inheritance be overridden at the child table level. In this case, the system warns about the active override option and requires it to be deactivated.
To inherit a UI action, complete the steps below:
- Select the Inherits checkbox to make a UI action the parent action, and click Save.
- Specify the Parent UI action you need and customize the record.
- Click Save or Save and exit to apply the changes.
To override a UI action, complete the steps below:
- Open the child UI Action form.
- In the Overrides by field, specify a parent UI Action that should be overridden.
- Fill in the Condition and Script fields with the values of the parent action if you need the logic of the overridden action to match the parent action.