Using the element has action relationship, an element type can be assigned actions that can be executed on elements of this type. Action descriptors referenced using this relationship appear in the context menu of all elements of this element type, but could also be deactivated there. An action Enabled or Visible condition determines when an action should be shown or activated. See Enabled/Visible Condition for more information.
Attribute | Type | Description |
---|---|---|
TargetID * | ActionDescriptor | The reference to the action descriptor. |
ActionVisibleCondition | ActionVisibleCondition | This complex attribute lets you define the rules for when an action should be shown in the context menu of an element. |
ActionEnabledCondition | ActionEnabledCondition | This complex attribute lets you define rules to specify when the action is activated. Non-activated actions are disabled, and cannot be executed by the user. |
Default_Action [U] | Boolean | Defines whether this action should be carried out by a double-click on the element or by pressing the enter key when an element
is selected. In the
Application Explorer view the element type “Get Children” action is executed if it exists and if no default action is configured. In the case of a
multiple selection, the default action is executed for each selection. Mass processing is not supported. If more than one
action of an element type is set as “default action”, the first applicable action depending on the enabling conditions is
executed.
The default value is false. |
Label [O] | String | Labeling of the action in the context menu. If no label is stated, the label of the referenced action descriptor is used. |
Separator_After | Boolean | Determines whether to insert a separation line behind the context menu entry.
The default value is false. |
Show_In_Table_View | Boolean | Determines whether the referenced action should display in the Table Results view context menu. |
Show_In_Tree_View | Boolean | Determines whether the referenced action should be displayed in the Application Explorer view context menu. |