Hide/show action buttons by scripting

Uncategorized

It is possible to control action buttons visibility per item by script.
It is only applicable for item details, not itembox.

Following buttons can be controlled:

  • Custom action buttons in the toolbar
  • Action buttons in custom field

Standard toolbar buttons are out of scope.

The visibility of the button is for all users and only for that item, i.e. no need to break up in usergroups.

Scriptwriter should use ItemScriptSetting API object, set related ListScript and Item and set IsHidden flag true or false depending on what is needed.