AnalyticsWorkspace represents a Tableau Next workspace and its associations with analytics and data assets. It groups assets and serves as a reference target for dashboards and visualizations; it does not define those assets inline.
The component inherits fullName, its metadata identity, from Metadata. The required masterLabel supplies the workspace name. Asset associations are recorded separately in workspaceAssetRelationships.
Key Elements
The fields from asset through workspace below belong to each entry in workspaceAssetRelationships.
| Element | What the Element Controls |
|---|---|
fullName |
The inherited metadata identity of the workspace component. It is distinct from the workspace name in masterLabel. |
masterLabel |
Required. The workspace name. |
workspaceAssetRelationships |
An array of AnalyticsWorkspaceAsset entries describing the assets associated with the workspace. A workspace has one or more assets. |
asset |
Required in each relationship. Names the associated workspace asset. |
assetType |
Required in each relationship. Salesforce documents these values: AnalyticsDashboard, AnalyticsVisualization, MktCalculatedInsightObject, MktDataConnection, MktDataLakeObject, MktDataModelObject, and SemanticModel. See Documentation Inconsistencies for an additional exposed value. |
assetUsageType |
Required in each relationship. Classifies the asset's usage as Created or Referenced. |
metadataSourceType |
Optional. Separately classifies the asset's metadata source as Promoted or Reused. See Documentation Inconsistencies for an additional exposed value. |
workspace |
Required in each relationship. Identifies the workspace to which the asset belongs and can reference an AnalyticsWorkspace component. |
Behavior and Constraints
Interpret the relationship fields together. asset identifies the asset, assetType identifies its kind, and workspace identifies the workspace it belongs to. assetUsageType and metadataSourceType describe separate classifications of that association.
For example, Created and Promoted can appear together: one describes usage, while the other describes metadata source. Neither classification alone establishes ownership, access rights, or what happens to the asset when a workspace changes or is removed.
The documented asset kinds cover Tableau Next dashboards and visualizations, Data 360 calculated insights, connections, data lake objects and data model objects, and semantic models. Each association requires asset, assetType, assetUsageType, and workspace; metadataSourceType is optional.
Deployment and Retrieval
Components are stored in the analyticsWorkspaces folder. Salesforce documents the file suffix as .analtyicsWorkspace. The metadata type name used in package.xml is AnalyticsWorkspace, and the manifest supports * as a wildcard member.
Deployment and retrieval have separate per-operation and cumulative limits:
| Operation | Maximum in One Operation | Maximum Across All Operations in a 24-Hour Window |
|---|---|---|
| Deploy | 50 AnalyticsWorkspace components |
100 AnalyticsWorkspace components |
| Retrieve | 100 AnalyticsWorkspace components |
200 AnalyticsWorkspace components |
Splitting a request into smaller operations can address the per-operation limit, but it does not remove the cumulative 24-hour limit.
A workspace's asset associations identify potential dependencies. They do not make the referenced components inline parts of the workspace definition or establish that every referenced component must always be deployed with the workspace.
Relationships
The outgoing references below occur within workspaceAssetRelationships. The nested workspace field creates a workspace-to-workspace metadata connection. Dashboards and visualizations can also reference a workspace through their own fields. These connections identify potential dependency impact, not automatic containment or a mandatory deployment sequence.
References
-
AnalyticsDashboard:asset. -
AnalyticsVisualization:asset. -
AnalyticsWorkspace:workspace.
Referenced By
-
AnalyticsDashboard:analyticsWorkspace,workspace. -
AnalyticsVisualization:analyticsWorkspace. -
AnalyticsWorkspace:workspace.
Documentation Inconsistencies
The exposed enumerations and Salesforce's AnalyticsWorkspace type reference do not fully match. The element schema additionally exposes MktDataTransformSetup for assetType and ReusedEditable for metadataSourceType; neither value is listed in Salesforce's type reference. These additional classifications do not, by themselves, establish ownership, access rights, or asset lifecycle behavior.
Common Questions
Does deploying AnalyticsWorkspace also deploy its dashboards and visualizations?
The workspace records associations rather than inline dashboard or visualization definitions. Those references do not establish that the associated components must always be deployed with the workspace.
How many AnalyticsWorkspace components can I deploy or retrieve?
You can deploy at most 50 in one operation and 100 across all deploy operations in a 24-hour window. You can retrieve at most 100 in one operation and 200 across all retrieve operations in a 24-hour window. Smaller batches do not bypass the cumulative limits.
Which fields are required in workspaceAssetRelationships?
Each entry requires asset, assetType, assetUsageType, and workspace. metadataSourceType is optional. A workspace has one or more associated assets.
Does assetUsageType Created mean the workspace owns the asset?
No ownership conclusion follows from that value alone. assetUsageType classifies usage, while metadataSourceType separately classifies metadata source. Neither alone proves ownership, access rights, or lifecycle behavior.
Can I retrieve all AnalyticsWorkspace components with a wildcard?
Yes. AnalyticsWorkspace supports * in the package.xml manifest. Retrieval remains subject to the per-operation and cumulative 24-hour limits.