Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Inheritance rules


  1. The following UI actions are applied to forms and lists:
    • Actions created for the current table.
    • Inherited actions that are UI actions inherited and not overridden by the Overrides by option at Overridden attribute for the current inheritance leveltable.
    • The functionality overridden at the current level of the UI actions inheritance.
    • UI actions specified on the current level.
  2. UI action inherited on the 1st level with functionality overriding specified on the 2nd level cannot be applied on the 3rd level of inheritance. An inherited UI action specified on the 2nd level may be applied to the 3rd one.
    • Inherited actions that are overridden for the current table.
  3. 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.
  4. A UI action inherited by a child table with the override at the next level of inheritance cannot at the child table levelUI action inherited on the 1st level with the functionality overriding specified on the 3nd level cannot be overridden on the 2nd level. In this case, the system warns of about the active override option and requires for its deactivationit to be deactivated.
Info

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. Select 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.