dashboard Commands

Manage Analytics dashboards.

analytics dashboard history list 

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

Examples for analytics dashboard history list 

1sf analytics dashboard history list --dashboardid <dashboardid>

Command Syntax 

sf analytics dashboard history list

[--json]

[--api-version APIVERSION]

-o TARGETORG

-i DASHBOARDID

Parameters 

--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

analytics dashboard history revert 

Revert to a specified history record.

Examples for analytics dashboard history revert 

1sf analytics dashboard history revert -i <dashboardid> -y <historyid> -l <historyLabel>

Command Syntax 

sf analytics dashboard history revert

[--json]

[--api-version APIVERSION]

-o TARGETORG

-i DASHBOARDID

-y HISTORYID

[-l LABEL]

Parameters 

--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

analytics dashboard list 

Lists Analytics dashboards in the specified target org.

Examples for analytics dashboard list 

1sf analytics dashboard list

Command Syntax 

sf analytics dashboard list

[--json]

[--api-version APIVERSION]

-o TARGETORG

Parameters 

--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

analytics dashboard update 

Updates an Analytics dashboard.

Examples for analytics dashboard update 

1sf analytics dashboard update -i dashboardId -y currentHistoryId
1sf analytics dashboard update -i dashboardId -r

Command Syntax 

sf analytics dashboard update

[--json]

[--api-version APIVERSION]

-o TARGETORG

-i DASHBOARDID

[-y CURRENTHISTORYID]

[-r]

Parameters 

--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