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.
Clone a Dashboard
Example
You want to clone dashboard 01ZR00000008gkvMAA and save it in a new folder with ID 00lR0000000DnRZIA0.
This POST request /services/data/v35.0/analytics/dashboards/?cloneId=01ZR00000008gkvMAA to the Dashboard List resource clones the dashboard.
1{"folderId":"00lR0000000DnRZIA0"}The response to the POST request returns the following details about the cloned dashboard.
1{ "attributes" :
2 { "dashboardId" : "01ZR00000004SZZMA2",
3 "dashboardName" : "Sales Manager Dashboard",
4 "statusUrl" : "/services/data/v35.0/analytics/dashboards/01ZR00000004SZZMA2/status",
5 "type" : "Dashboard" },
6...
7 "folderId" : "00lR0000000DnRZIA0",
8 "id" : "01ZR00000004SZZMA2",
9 "layout" : {
10 "columns" : [
11 { "components" : [ 0, 1, 2, 3 ] },
12 { "components" : [ 4, 5, 6 ] },
13 { "components" : [ 7 ] } ],
14 "gridLayout" : false },
15 "name" : "Sales Manager Dashboard",
16 "runningUser" : { "displayName" : "Fred Wiliamson", "id" : "005R0000000Hv5rIAC" }
17}