Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Analytics Download
Download a .png image of a CRM Analytics dashboard or lens, or
Lightning Experience dashboard or report. Download a .pdf file of a CRM
Analytics dashboard or lens. Request downloads via browser calls.
Syntax
URI: domain/analytics/download/assetType/assetId.downloadType
Formats: .png or .pdf
Parameters
| Parameter | Description |
|---|---|
| assetType | Required. Specifies what type of Analytics asset to download. Valid values are:
|
| assetId |
Required. Specifies the Analytics asset id to download. |
| downloadType | Required. Specifies what file type to download the Analytics asset as. Valid values are:
|
Query Parameters
| Parameter | Description |
|---|---|
| includeData | Optional. Indicates whether to include that tabular widget data (true) or not(false). |
| pageId | Optional. Specifies the Id for a dashboard page to download. |
| pageSize | Optional. Specifies page size to download. Valid values are:
|
| savedviewId | Optional. Specifies the Id for a dashboard saved view to download. |
Response Body
The response body is binary data of the .png or .pdf representation of the Analytics asset.