isActionVisible(name)

Returns the value of the specified property for an embedded Dashboard. See Modularize a Dashboard for more information about embedding.

Paramaters

name

name of property (String): 'Open' for user access to embedded Dashboard

See thisViewsheet for more information about the 'Open' property.

Example

if (!Dashboard1.isActionVisible("Open")) {
  alert('Embedded Dashboard cannot be opened.');
}