Showing or hiding a default action view.


   name STRING,
   hidden BOOLEAN )
  1. name is the name of the action, see Identifying actions in dialog methods.
  2. hidden is a boolean value.


Use the setActionHidden() method to hide the default view (and context menu option) of an action.
CALL DIALOG.setActionHidden( "confirm", TRUE )

The first parameter identifies the action object of the dialog.

Important: This method will only affect the rendering of the default view for the specified action. Explicit action views (such as buttons in the form layout) will not get the new attribute value.