Skip to main content
Version: 1.21.3

UI Action Inheritance and Override

In SimpleOne, the UI actions can be inherited and then you can override their logic, scripts, order, name, or any other feature.

Instance rules


  1. 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.
  2. 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.
  3. A UI action inherited by a child table with the override at the next level of inheritance cannot be overridden at the child table level. In this case, the system warns about the active override option and requires it to be deactivated.
note

The system provides UI Actions inheritance with the Inherits option. When a UI action has a Table specified, and the Inherits checkbox is selected, the system applies this UI action to all child tables of the table specified before.

For child UI actions, the reference Parent option defines a parent UI action with functionality options that can be overridden if necessary.

To inherit a UI action, complete the steps below:

  1. elect the Inherits checkbox to make a UI action the parent action, and click Save.
  2. Specify the Parent UI action you need and customize the record.
  3. Click Save or Save and exit to apply the changes.

To override a UI action, complete the steps below:

  1. Open the child UI Action form.
  2. 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.