AnalyticsDashboard represents a Tableau Next dashboard. It combines dashboard configuration, layouts and pages, widget definitions, and interactive actions within a Tableau Next workspace. The required analyticsWorkspace identifies that workspace, fullName identifies the metadata component, and the required masterLabel supplies the dashboard's name.
A dashboard is distinct from its visualizations and from the workspace that contains it. It also separates widget definitions from widget placement: widgets defines what each widget does, while layouts determines where widgets appear on pages.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
The inherited metadata component identifier. This is distinct from the display name in masterLabel. |
analyticsWorkspace |
Required. Identifies the Tableau Next workspace the dashboard belongs to. |
masterLabel |
Required. The dashboard's name. |
layouts |
Defines arrangements such as desktop and mobile layouts. Each layout requires analyticsDashboard and can contain pages. Layout sizing includes columnCount, maxWidth, and rowHeight. |
layouts.pages |
Defines layout pages. pageName is a generated unique ID; label is the page label. index is zero-based and is not required when there is only the default page. |
layouts.pages.pageWidgets |
Places widgets on a page. Required analyticsDashboardWidget refers to a widget's widgetName. row, column, rowspan, and colspan are numeric values serialized as strings. |
widgets |
Defines widgets separately from their placement. Each widget requires analyticsDashboard and type. Allowed types are button, container, extension, filter, image, metric, navigation, parameter, summary, text, and visualization. |
widgets.widgetName |
The widget's API name, used by page placements through analyticsDashboardWidget. Renaming it requires updating those references. |
widgets.widgetActions |
Defines interactions. Each action requires eventType, either click or select, and actionType, one of filter, flow, navigate, parameter, or recordaction. parameters holds the action configuration. |
widgets.vizWidgetDefs |
Connects a visualization widget to an AnalyticsVisualization through analyticsVisualization, its API name. analyticsVizVersion records the associated visualization version. |
widgets.filterWidgetDefs, widgets.parameterWidgetDefs
|
Combine source, initialValues, and parameters to define the data source, starting values, and filter or parameter configuration. |
widgets.metricWidgetDefs |
Associates a metric with source and semanticModel. Its parameters can contain additional semantic-model identifiers and filter-reception settings. |
widgets.dynamicTokens |
Defines dynamic content using source, tokenSpec, and type. Allowed types are query, insights, metric, and reference. |
style, layouts.style
|
Store dashboard and layout styling as JSON strings, not nested metadata elements. JSON, or JavaScript Object Notation, represents structured settings as text. |
workspaceAssetRelationships |
Records associated workspace assets using workspace, asset, assetType, and assetUsageType. Optional metadataSourceType records provenance. These associations are separate from required workspace membership. |
Behavior and Constraints
Widget definitions and page placement
A dashboard can contain zero or more layouts and widgets. Layouts contain pages, and pages contain widget placements. A page placement refers to a widget definition; it does not define a separate widget.
Changing a widget's position or span is distinct from changing its definition or actions. If you rename widgetName, keep every corresponding analyticsDashboardWidget reference aligned. The nested analyticsDashboard fields also associate each layout and widget with its dashboard.
The corresponding definition collection is required when that kind of widget is defined. These collections include buttonWidgetDefs, containerWidgetDefs, filterWidgetDefs, imageWidgetDefs, metricWidgetDefs, navigationWidgetDefs, parameterWidgetDefs, textWidgetDefs, and vizWidgetDefs.
Do not substitute a page label for pageName: the latter is a generated unique page ID. Page index starts at zero. Placement coordinates and spans are string-valued numeric fields, unlike the integer-valued page index.
Configuration inside JSON strings
Dashboard and layout styles, widget-definition parameters, and action parameters contain JSON strings. Behavior-changing settings can therefore be embedded inside text rather than exposed as separate metadata elements.
For filter widgets, documented configuration includes receiveFilterSource and filterOption, with selected object and field settings such as objectName and fieldName. Parameter widgets can identify their parameter through parameterName. The source field alone does not describe the selected field or parameter, initial values, or configured interaction.
Visualization and metric parameter examples also contain receiveFilterSource. Those examples do not establish a universal default for how filters propagate between widgets.
Metric widgets have explicit source and semanticModel associations. Their JSON parameters can additionally contain sdmApiName and sdmId. These identify different things: do not substitute a record ID for an API name or treat the two keys as interchangeable.
An action's type does not fully describe its behavior. For example, a navigate action can store its destination URL in the JSON parameters. Inspect that configuration to determine the destination rather than relying on actionType alone.
Workspace asset usage and provenance
workspaceAssetRelationships describes asset associations, not the dashboard's required workspace membership. Its assetType qualifies the associated asset. Allowed values are AnalyticsDashboard, AnalyticsVisualization, MktCalculatedInsightObject, MktDataConnection, MktDataLakeObject, MktDataModelObject, MktDataTransformSetup, and SemanticModel. These classifications cover dashboards, visualizations, semantic models, and Data Cloud assets.
assetUsageType distinguishes Created from Referenced. metadataSourceType can be Promoted, Reused, or ReusedEditable. These values describe asset usage and provenance; they do not by themselves establish user access or grant permissions.
Lifecycle, origin, and version fields
lastDraftModifiedDate records when the draft was last modified, while lastPublishedDate records publication. They represent different lifecycle events and are not interchangeable timestamps.
templateSource identifies the source template, and templateAssetSourceName identifies the source dashboard within that template when the dashboard was created from one. These fields record the dashboard's origin.
The top-level numeric version stores the dashboard's API version. Layouts, actions, and metric definitions can carry their own numeric version values. These are distinct from string-valued asset-version associations such as analyticsDashboardVersion and analyticsVizVersion.
Deployment and Retrieval
AnalyticsDashboard components use the .uadash suffix and reside in the analyticsDashboards folder. In package.xml, use AnalyticsDashboard as the type name and the component name as the member. The manifest also supports the * wildcard for this type.
Deployment and retrieval have separate per-operation and aggregate limits:
| Operation | Maximum Components per Operation | Maximum Components across All Operations in a 24-Hour Window |
|---|---|---|
| Deploy | 50 | 100 |
| Retrieve | 100 | 200 |
Splitting a transfer into smaller operations addresses the per-operation limit but does not remove the aggregate 24-hour limit.
When changing serialized metadata, keep widget names and page references aligned, preserve the required dashboard associations on layouts and widgets, and include the definition collection required by each configured widget kind. Moving a page widget does not require treating its definition as a separate metadata component.
Dependency review must include configuration embedded in JSON strings, not only the explicit visualization and workspace reference elements. Possible asset connections do not mean every dashboard uses every destination type, and they do not establish that all associated assets must be deployed together.
Relationships
The principal external connections are the containing workspace, visualizations used by widgets, and assets associated through workspaceAssetRelationships. Recognized destinations for the relationship's asset include dashboards and visualizations. For impact analysis, distinguish incoming asset associations from the nested analyticsDashboard links that associate layouts and widgets with their own dashboard.
References
-
AnalyticsDashboard:analyticsDashboard,asset. -
AnalyticsVisualization:analyticsVisualization,asset. -
AnalyticsWorkspace:analyticsWorkspace,workspace.
Referenced By
-
AnalyticsDashboard:analyticsDashboard,asset. -
AnalyticsWorkspace:asset.
Documentation Inconsistencies
The action asset-version element has two spellings: the exposed element schema uses analyticsAssetVersion, while Salesforce's action field table lists analyticsAssetVerson. Preserve this distinction when diagnosing serialized action metadata rather than assuming the spellings are interchangeable.
Common Questions
How many AnalyticsDashboard components can I deploy or retrieve?
You can deploy at most 50 components in one operation and 100 across all deploy operations in a 24-hour window. Retrieval allows 100 per operation and 200 across all retrieve operations in a 24-hour window. Smaller batches do not bypass the aggregate limits.
Where are AnalyticsDashboard files stored, and can I retrieve them with a wildcard?
Components are stored in analyticsDashboards with the .uadash suffix. The AnalyticsDashboard type supports * in the package.xml manifest.
What must I update when I rename a dashboard widget?
Update the widget's widgetName and every page placement whose analyticsDashboardWidget refers to that name. Widget definitions and page placements are separate structures.
Where is a dashboard action's navigation destination stored?
The destination can be stored in the action's JSON parameters. An actionType of navigate identifies the kind of action, not its destination or complete behavior.
Does a workspace asset relationship grant access to the dashboard?
The relationship's usage and provenance values do not by themselves grant permissions or establish user access. Required workspace membership is recorded separately in analyticsWorkspace.