Override a UI action for an extended table

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 1 Minute Lesedauer
  • You can override or remove a UI action for a table that is extended from another table.

    Vorbereitungen

    Role required: ui_action_admin or admin
    Hinweis:
    This is not applicable to domain separated instances.

    Warum und wann dieser Vorgang ausgeführt wird

    When a UI action is defined for the Task table, it applies to all tasks, including incidents, changes, problems, and any other tables that extend the Task table. Similarly, a global UI action applies to every table. However, you can override a UI action for a specific table. This example demonstrates how to override or remove a UI action on the Task [task] table for only the Incident [incident] table.

    Prozedur

    1. Complete the following steps to override a UI action on the Task table for just the Incident table.
      1. Create a UI action on the Incident table with the same Action name.
        If the Action name is not defined, update both the new UI action and the UI action to be overridden with the same Action name.
      2. Enter a script that is specific to the Incident table.
    2. Complete the following steps to remove a UI action on the Task table for the Incident table.
      1. Navigate to the UI action definition for the Task table.
      2. Add the condition current.getRecordClassName() !='incident'.