dashboard Commands

Manage Analytics dashboards.

Lists history records for Analytics dashboards in the specified target org.

sf analytics dashboard history list

[--json]

[--api-version APIVERSION]

-o TARGETORG

-i DASHBOARDID

--json

Optional

Format output as JSON.

Type: boolean

--api-version APIVERSION

Optional

Override the API version used for API requests made by this command.

Type: string

-o TARGETORG

Required

Username or alias of the target org. Not required if the target-org configuration variable is set.

Type: string

-i | --dashboardid DASHBOARDID

Required

The ID of the dashboard to show history records.

Type: id

Revert to a specified history record.

sf analytics dashboard history revert

[--json]

[--api-version APIVERSION]

-o TARGETORG

-i DASHBOARDID

-y HISTORYID

[-l LABEL]

--json

Optional

Format output as JSON.

Type: boolean

--api-version APIVERSION

Optional

Override the API version used for API requests made by this command.

Type: string

-o TARGETORG

Required

Username or alias of the target org. Not required if the target-org configuration variable is set.

Type: string

-i | --dashboardid DASHBOARDID

Required

The ID of the dashboard to show history records.

Type: id

-y | --historyid HISTORYID

Required

The ID of the dashboard history records.

Type: id

-l | --label LABEL

Optional

Label for new reverted history record.

Type: string

Lists Analytics dashboards in the specified target org.

sf analytics dashboard list

[--json]

[--api-version APIVERSION]

-o TARGETORG

--json

Optional

Format output as JSON.

Type: boolean

--api-version APIVERSION

Optional

Override the API version used for API requests made by this command.

Type: string

-o TARGETORG

Required

Username or alias of the target org. Not required if the target-org configuration variable is set.

Type: string

Updates an Analytics dashboard.

sf analytics dashboard update

[--json]

[--api-version APIVERSION]

-o TARGETORG

-i DASHBOARDID

[-y CURRENTHISTORYID]

[-r]

--json

Optional

Format output as JSON.

Type: boolean

--api-version APIVERSION

Optional

Override the API version used for API requests made by this command.

Type: string

-o TARGETORG

Required

Username or alias of the target org. Not required if the target-org configuration variable is set.

Type: string

-i | --dashboardid DASHBOARDID

Required

Dashboard ID.

Type: id

-y | --currenthistoryid CURRENTHISTORYID

Optional

Current History ID to display.

Type: id

-r | --removecurrenthistoryREMOVECURRENTHISTORY

Optional

Remove Current History ID from dashboard.

Type: boolean