Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create or modify Dependency Views menu actions

To modify an existing menu option, first you create a copy of the original menu action record, and then you modify the copy.

Before you begin

Role required: sn_cmdb_admin or admin

About this task

This ensures that your instance can update the record normally during the upgrade process and allows you to quickly restore the original menu option, if necessary.

Procedure

  1. To create a new menu option, navigate to Dependency Views > Map Menu Actions and click New.

    Fill in the fields on the form, as appropriate. See the Menu Action form table.

  2. To modify an existing menu option, navigate to Dependency Views > Map Menu Actions.

  3. Open the menu action you want to edit.

  4. Right-click in the header and click Insert and Stay.

    This step creates a duplicate copy of the menu action and leaves it open for editing.

  5. Change the name of the copied record to avoid confusion.

  6. Modify the form fields as necessary and save the record.

  7. Open the original record and disable it by clearing the Active check box.

ControlDescription
NameDescriptive name that appears as the menu option.
ActiveCheck box that allows you to enable or disable this record.
ConditionCondition that triggers the display of this menu option. If the condition evaluates to false the menu option does not display. Script is evaluated in JavaScript in the user's browser and does not have access to all the APIs that Business Rules do. For details on available parameters, see Condition Parameters. .
ItemMap element for which the menu option displays. Valid values are: - Canvas for the menu on the map background. - Node for the menu on a CI. - Relationship for the menu on a relationship link.
OrderPhysical location of the option in the menu. The option with the lowest order number appears first in the menu. All editable and custom options appear below the permanent menu options.
ScriptScript that is executed in the browser when the menu option is selected. Script is evaluated in JavaScript in the user's browser and does not have access to all the APIs that Business Rules do.
TypeMenu action type being created, either a menu option or a menu separator. The menu separator is a single line. When the type is a separator, the Script field is ignored.

Parent Topic:Administer Dependency Views

Related topics

Create or modify map indicators

Create or modify map icons

Create a predefined filter

Set a predefined filter as default

Create or modify Map Related Items

Condition and script parameters for menu actions

Create or edit a dependency type