Toggle App Action Button Visibility

Toggle App Action Button Visibility - kintone.app.record.showActionButton(action, state)

Shows or hides the App Action button of the current record.

Function

Desktop

kintone.app.record.showActionButton(action, state)

Mobile

kintone.mobile.app.record.showActionButton(action, state)

Parameters

Parameter Type Required Description
action String Yes The name of the App Action.
When the action name is set in multiple languages, specify the name in the display language of the user running the API.
If multiple actions with the same name exist, specifying that action will result in an error.
state String Yes Specify one of the following values.
  • VISIBLE: Shows the button.
  • HIDDEN: Hides the button.

Returns

A Promise object.
When the Promise object is fulfilled, no value is returned.

Available Pages

  • Record details