Skip to main content

Add Menu Command

Function: The element adds a command to the menu configuration. Because menu configurations depend on the startup profile, you need to specify here which profiles should be affected by this change. The new menu command to be added has to be included in the respective plug-in.

Tip

The PlugIn and Profile Change components have to be defined earlier in the sequence.

Parameter

Description

Command

Type GUID of the command which is added to the menu

InsertionPath

_cds_icon_three_dots.png: Opens the Command Location dialog to select the position in the menu structure where the command will be added

If this menu path does not exist yet, then it will be created automatically.

InsertionPosition

  • Where: Position in the menu where the command will be added within the menu path defined in InsertionPath:

    Last: The new command is added at the last position in the pop-up menu or on the toolbar.

    First: The new command is added at the first position in the pop-up menu or on the toolbar.

    Before: The new command is added before the command defined below Command. If this command is not defined, then the new command is added at the first position within the pop-up menu or on the toolbar.

    After: The new command is added after the command defined below Command. If this command is not defined, then the new command is added at the last position within the pop-up menu or on the toolbar.

  • Command: This parameter contains the GUID type of the existing command for which the new command should be added. Existing menu items can be selected in the Customize dialog. This parameter is necessary when the Where parameter is set to Before or After. It is not necessary when the Where element is set to anything else.

BeginGroup

_cds_icon_checked.png: A separator element is added before the new menu item.

Default value: "not enabled" (_cds_icon_option_deactivated.png)

Annotation

Additional comment or information about this element

This information is visible only within the Package Designer.

Requirement: At least version Package Manager 3.5.4.0