Interface: SaveAPI

SaveAPI

API class that is used to save a dashboard.

Example

dashboard.getFeature('Save')

Methods

save() → {Promise.<Object>}

Updates an existing dashboard object.
Returns:
Resolved object contains the status of the save operation.
Type
Promise.<Object>

(async) saveAs(name, parentId, overwrite) → {Promise.<Object>}

Creates a new dashboard object.
Parameters:
Name Type Description
name name Dashboard name
parentId url Parent asset ID
overwrite boolean Indicates whether the saveAs method can overwrite an existing dashboard; default is true.
Returns:
Resolved object contains the status of the saveAs operation.
Type
Promise.<Object>