Manage Dashboards
| This feature is available only in Enterprise Edition. |
Manage Dashboards in script by using the :viewsheet or equivalent :vs command. See Create a New Dashboard for information about Dashboards in the User Portal.
Optional parameters should be provided in a key-value pair with a preceding double-hyphen (--). For example: --organizationid organization0.
|
List Available Dashboards
The list action lists the available Dashboards. Note: You must first connect to a repository. See Connect to a Repository.
Parameters
- organizationid
-
Organization ID for multi-tenant environment. (See Enable Multi-Tenancy.) (optional)
List Open Dashboards
The list-open action lists the currently open Dashboards. Note: You must first connect to a repository. See Connect to a Repository.
Get Dashboard Bookmarks
The bookmarks action lists the bookmarks in the specified Dashboard. Note: You must first connect to a repository. See Connect to a Repository.
Open a Dashboard
The open action opens the specified Dashboard. Note: You must first connect to a repository. See Connect to a Repository.
Get Dashboard
The get action obtains a handle to an open Dashboard. Note: You must first connect to a repository. See Connect to a Repository.
Parameters
- id
-
Runtime Dashboard ID. Obtain this from the
list-openaction. (See List Open Dashboards.)
Close Dashboard
The close action closes an open Dashboard. Note: You must first connect to a repository. See Connect to a Repository.
Parameters
- id
-
Runtime Dashboard ID. Obtain this from the
list-openaction. (See List Open Dashboards.)
Mail a Dashboard
The mail action sends a Dashboard to a recipient in the specified format. Note: You must first connect to a repository. See Connect to a Repository.
Parameters
- id
-
Runtime Dashboard ID. Obtain this from the
list-openaction. (See List Open Dashboards.) - format
-
Format for the Dashboard attachment ('EXCEL', 'PDF', or 'POWERPOINT').
- recipients
-
The email addresses of the recipients. (At least one is required.)
- sender
-
The email address of the sender.
- subject
-
The subject line of the email.
- message
-
The body of the email.
Export a Dashboard
The export action downloads the Dashboard in the specified format. Note: You must first connect to a repository. See Connect to a Repository. The Dashboard should be open before exporting. (See Open a Dashboard.)
Parameters
- id
-
Runtime Dashboard ID. Obtain this from the
list-openaction. (See List Open Dashboards.) - format
-
Format for the Dashboard file ('EXCEL', 'PDF', or 'POWERPOINT').
- file
-
A name for the downloaded file.
- bookmarks
-
Array of bookmarks to include in exported Dashboard. (optional)
Asynchronously Export a Dashboard
The async-export action downloads the Dashboard in the specified format. The export is non-blocking and the status must be polled to determine when it is complete. (See Get Asynchronous Export Status.) Note: You must first connect to a repository. See Connect to a Repository. The Dashboard should be open before exporting. (See Open a Dashboard.)
Parameters
- id
-
Runtime Dashboard ID. Obtain this from the
list-openaction. (See List Open Dashboards.) - format
-
Format for the Dashboard file ('EXCEL', 'PDF', or 'POWERPOINT').
- bookmarks
-
Array of bookmarks to include in exported Dashboard. (optional)
Remove an Asynchronous Export Action
The remove-export action removes an existing asynchronous export action, cancelling it if necessary. Note: You must first connect to a repository. See Connect to a Repository.
Get Asynchronous Export Status
The get-export-status action returns the status of an asynchronous export as true (completed) or false (failed). Note: You must first connect to a repository. See Connect to a Repository.
Get Asynchronous Export Content
The get-export-content action downloads the content of a completed asynchronous Dashboard export. Note: You must first connect to a repository. See Connect to a Repository. Before using get-export-content, verify that the export action has completed. (See Get Asynchronous Export Status.)
Rename a Dashboard
The rename action renames the specified Dashboard. Note: You must first connect to a repository. See Connect to a Repository.
Parameters
- id
-
Dashboard ID
- path
-
Path for renamed Dashboard
- global
-
truefor global scope,falsefor user scope - owner
-
If
globalis false, the name of the owner (user) - organizationid
-
Organization ID for multi-tenant environment. (See Enable Multi-Tenancy.) (optional)
Delete a Dashboard
The delete action deletes a Dashboard from the repository. Note: You must first connect to a repository. See Connect to a Repository.
Parameters
- id
-
Runtime Dashboard ID. Obtain this from the
list-openaction. (See List Open Dashboards.)
Add a Pinned Dashboard
The add-favorite action adds a pinned dashboard to the Portal for the current user. Note: You must first connect to a repository. See Connect to a Repository.
Parameters
- id
-
Runtime Dashboard ID. Obtain this from the
list-openaction. (See List Open Dashboards.)
Remove a Pinned Dashboard
The remove-favorite action removes the specified pinned dashboard from the Portal for the current user. Note: You must first connect to a repository. See Connect to a Repository.
Parameters
- id
-
Runtime Dashboard ID. Obtain this from the
list-openaction. (See List Open Dashboards.)