Newer Version Available
AnalyticsDashboard
Parent Type
File Suffix and Directory Location
AnalyticsDashboard components have the suffix .uadash and are stored in the analyticsDashboards folder.
Version
AnalyticsDashboard components are available in API version 64.0 and later.
Fields
| Field Name | Description |
|---|---|
| analyticsWorkspace |
|
| description |
|
| layouts |
|
| masterLabel |
|
| style |
|
| templateAssetSourceName |
|
| templateSource |
|
| version |
|
| widgets |
|
| workspaceAssetRelationships |
|
AnalyticsDashboardLayout
Represents a layout for a Tableau Next dashboard. A dashboard can have multiple layouts, like Desktop and Mobile.
| Field Name | Description |
|---|---|
| analyticsDashboard |
|
| columnCount |
|
| label |
|
| layoutName |
|
| maxWidth |
|
| pages |
|
| rowHeight |
|
| style |
|
| version |
|
AnalyticsDashboardPage
Represents a page in a Tableau Next dashboard.
| Field Name | Description |
|---|---|
| index |
|
| label |
|
| pageName |
|
| pageWidgets |
|
AnalyticsDashPageWidget
Represents an dashboard page widget for a Tableau Next dashboard page.
| Field Name | Description |
|---|---|
| analyticsDashboardWidget |
|
| colspan |
|
| column |
|
| row |
|
| rowspan |
|
AnalyticsDashboardWidget
Represents a widget on a Tableau Next dashboard.
| Field Name | Description |
|---|---|
| analyticsDashboard |
|
| buttonWidgetDefs |
|
| containerWidgetDefs |
|
| dynamicTokens |
|
| filterWidgetDefs |
|
| label |
|
| metricWidgetDefs |
|
| parameterWidgetDefs |
|
| textWidgetDefs |
|
| type |
|
| vizWidgetDefs |
|
| widgetActions |
|
| widgetName |
|
AnalyticsAssetAction
Represents an action for a Tableau Next asset.
| Field Name | Description |
|---|---|
| actionType |
|
| eventType |
|
| parameters |
|
| version |
|
AnalyticsButtonWidgetDef
Represents a button widget definition for a Tableau Next dashboard.
| Field Name | Description |
|---|---|
| parameters |
|
AnalyticsContainerWidgetDef
| Field Name | Description |
|---|---|
| parameters |
|
AnalyticsWidgetDynamicToken
| Field Name | Description |
|---|---|
| description |
|
| label |
|
| source |
|
| tokenName |
|
| tokenSpec |
|
AnalyticsFilterWidgetDef
Represents a filter widget definition for a Tableau Next dashboard.
| Field Name | Description |
|---|---|
| initialValues |
|
| parameters |
|
| source |
|
AnalyticsMetricWidgetDef
Represents a metric widget definition for a Tableau Next dashboard.
| Field Name | Description |
|---|---|
| parameters |
|
| semanticModel |
|
| source |
|
| sourceDeprecated |
|
| version |
|
AnalyticsParamWidgetDef
Represents a parameters widget definition for a Tableau Next dashboard.
| Field Name | Description |
|---|---|
| initialValues |
|
| parameters |
|
| source |
|
AnalyticsTextWidgetDef
Represents a text widget definition for a Tableau Next dashboard.
| Field Name | Description |
|---|---|
| parameters |
|
AnalyticsVizWidgetDef
Represents a visualization widget definition for a Tableau Next dashboard.
| Field Name | Description |
|---|---|
| analyticsVisualization |
|
| parameters |
|
Declarative Metadata Sample Definition
The following is an example of an AnalyticsDashboard component.
1<?xml version="1.0" encoding="UTF-8"?>
2<AnalyticsDashboard xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3 <analyticsWorkspace>My_Workspace</analyticsWorkspace>
4 <description>A dashboard</description>
5 <layouts>
6 <analyticsDashboard>My_Dashboard</analyticsDashboard>
7 <columnCount>36</columnCount>
8 <layoutName>default</layoutName>
9 <maxWidth>1200</maxWidth>
10 <label>layoutLabel</label>
11 <pages>
12 <index>0</index>
13 <label>Page 1</label>
14 <pageName>e412bc11-d43b-4fba-ab44-b31bb842b49a</pageName>
15 <pageWidgets>
16 <analyticsDashboardWidget>visualization_1</analyticsDashboardWidget>
17 <colspan>11</colspan>
18 <column>1</column>
19 <row>2</row>
20 <rowspan>10</rowspan>
21 </pageWidgets>
22 <pageWidgets>
23 <analyticsDashboardWidget>button_1</analyticsDashboardWidget>
24 <colspan>9</colspan>
25 <column>13</column>
26 <row>8</row>
27 <rowspan>2</rowspan>
28 </pageWidgets>
29 <pageWidgets>
30 <analyticsDashboardWidget>container_1</analyticsDashboardWidget>
31 <colspan>11</colspan>
32 <column>23</column>
33 <row>2</row>
34 <rowspan>10</rowspan>
35 </pageWidgets>
36 <pageWidgets>
37 <analyticsDashboardWidget>text_2</analyticsDashboardWidget>
38 <colspan>9</colspan>
39 <column>13</column>
40 <row>5</row>
41 <rowspan>2</rowspan>
42 </pageWidgets>
43 <pageWidgets>
44 <analyticsDashboardWidget>metric_1</analyticsDashboardWidget>
45 <colspan>11</colspan>
46 <column>1</column>
47 <row>13</row>
48 <rowspan>10</rowspan>
49 </pageWidgets>
50 <pageWidgets>
51 <analyticsDashboardWidget>list_4</analyticsDashboardWidget>
52 <colspan>9</colspan>
53 <column>13</column>
54 <row>13</row>
55 <rowspan>2</rowspan>
56 </pageWidgets>
57 <pageWidgets>
58 <analyticsDashboardWidget>list_1</analyticsDashboardWidget>
59 <colspan>9</colspan>
60 <column>13</column>
61 <row>2</row>
62 <rowspan>2</rowspan>
63 </pageWidgets>
64 </pages>
65 <rowHeight>24</rowHeight>
66 <style>{"backgroundColor":"#ffffff","gutterColor":"#f3f3f3","cellSpacingX":8,"cellSpacingY":8}</style>
67 </layouts>
68 <masterLabel>My Dashboard</masterLabel>
69 <style>{"widgetStyle":{"backgroundColor":"#ffffff","borderEdges":[],"borderColor":"#cccccc","borderWidth":1,"borderRadius":0}}</style>
70 <version>64.0</version>
71 <widgets>
72 <analyticsDashboard>My_Dashboard</analyticsDashboard>
73 <type>visualization</type>
74 <vizWidgetDefs>
75 <analyticsVisualization>New_Visualization</analyticsVisualization>
76 <parameters>{"legendPosition":"Right","receiveFilterSource":{"filterMode":"all","widgetIds":[]}}</parameters>
77 </vizWidgetDefs>
78 <widgetName>visualization_1</widgetName>
79 </widgets>
80 <widgets>
81 <analyticsDashboard>My_Dashboard</analyticsDashboard>
82 <buttonWidgetDefs>
83 <parameters>{"text":"Button","alignmentX":"center","alignmentY":"center","fontSize":16}</parameters>
84 </buttonWidgetDefs>
85 <type>button</type>
86 <widgetActions>
87 <actionType>navigate</actionType>
88 <eventType>click</eventType>
89 <parameters>{"destination":{"type":"url","target":"www.salesforce.com"}}</parameters>
90 <version>63.0</version>
91 </widgetActions>
92 <widgetName>button_1</widgetName>
93 </widgets>
94 <widgets>
95 <analyticsDashboard>My_Dashboard</analyticsDashboard>
96 <containerWidgetDefs>
97 <parameters>{"widgetStyle":{"backgroundColor":"#1295FF","borderEdges":[]}}</parameters>
98 </containerWidgetDefs>
99 <type>container</type>
100 <widgetName>container_1</widgetName>
101 </widgets>
102 <widgets>
103 <analyticsDashboard>My_Dashboard</analyticsDashboard>
104 <textWidgetDefs>
105 <parameters>{"content":[{"attributes":{"color":"#000000","size":"12px"},"insert":"full dashboard"},{"attributes":{"align":"left"},"insert":"\n"}]}</parameters>
106 </textWidgetDefs>
107 <type>text</type>
108 <widgetName>text_2</widgetName>
109 </widgets>
110 <widgets>
111 <analyticsDashboard>My_Dashboard</analyticsDashboard>
112 <metricWidgetDefs>
113 <parameters>{"metricOption":{"layout":{"componentVisibility":{"details":true,"title":true,"value":true,"comparison":true,"chart":true,"insights":false}},"sdmApiName":"AccountModel","sdmId":"2SMxx0000004CFUGA2"},"receiveFilterSource":{"filterMode":"all","widgetIds":[]}}</parameters>
114 <source>AccountMetric_mtc</source>
115 </metricWidgetDefs>
116 <type>metric</type>
117 <widgetName>metric_1</widgetName>
118 </widgets>
119 <widgets>
120 <analyticsDashboard>My_Dashboard</analyticsDashboard>
121 <filterWidgetDefs>
122 <initialValues>null</initialValues>
123 <parameters>{"receiveFilterSource":{"filterMode":"all","widgetIds":[]},"filterOption":{"objectName":"Account","fieldName":"Account_Id","dataType":"Text","selectionType":"multiple"},"isLabelHidden":false}</parameters>
124 <source>AccountModel</source>
125 </filterWidgetDefs>
126 <label>Account Id</label>
127 <type>filter</type>
128 <widgetName>list_4</widgetName>
129 </widgets>
130 <widgets>
131 <analyticsDashboard>My_Dashboard</analyticsDashboard>
132 <label>AccountParameter</label>
133 <parameterWidgetDefs>
134 <initialValues>null</initialValues>
135 <parameters>{"parameterName":"AccountParameter_prm","isLabelHidden":false}</parameters>
136 <source>AccountModel</source>
137 </parameterWidgetDefs>
138 <type>parameter</type>
139 <widgetName>list_1</widgetName>
140 </widgets>
141 <templateSource></templateSource>
142 <templateAssetSourceName></templateAssetSourceName>
143 <workspaceAssetRelationships>
144 <asset xsi:nil="true"/>
145 <assetType>AnalyticsDashboard</assetType>
146 <assetUsageType>Created</assetUsageType>
147 <workspace>My_Workspace</workspace>
148 </workspaceAssetRelationships>
149</AnalyticsDashboard>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>My_Dashboard</members>
5 <name>AnalyticsDashboard</name>
6 </types>
7 <version>64.0</version>
8</Package>Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.