---
schema_version: "1"
id: bd9920bd13cc499ea307ce8757455c4faf71bc2a1fc4a391402fc637e0ddb2b1
title: AnalyticsWorkspace
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_analyticsworkspace.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_analyticsworkspace.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5c7aab25c9dbeb9862273ce587c603c4903e7b827de8b55b72fff68e11279fc9
description: Represents a Tableau Next workspace.
---
# AnalyticsWorkspace

Represents a Tableau Next workspace.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## Parent Type

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata.htm "The base class for all metadata types. You can’t edit this object. A component is an instance of a metadata type.") metadata type and inherits its fullName field.

## File Suffix and Directory Location

AnalyticsWorkspace components have the suffix .analtyicsWorkspace and are stored in the analyticsWorkspaces folder.

## Version

AnalyticsWorkspace components are available in API version 64 and later.

## Limits

| Definition | Limit |
| --- | --- |
| The maximum number of AnalyticsWorkspace components in a single deploy operation. | 50 |
| The maximum number of AnalyticsWorkspace components in a single retrieve operation. | 100 |
| The maximum number of AnalyticsWorkspace components across all deploy operations in a 24-hour window. | 100 |
| The maximum number of AnalyticsWorkspace components across all retrieve operations in a 24-hour window. | 200 |

## Fields

| Field Name | Description |
| --- | --- |
| description | 
Field Type

string

Description

The workspace description.



 |
| masterLabel | 

Field Type

string

Description

Required.

The name of the workspace.



 |
| workspaceAssetRelationships | 

Field Type

[AnalyticsWorkspaceAsset\[\]](#AnalyticsWorkspaceAsset)

Description

The workspace assets associated with the workspace. A workspace has 1 or more assets.



 |

## AnalyticsWorkspaceAsset

Represents a Tableau Next analytics asset.

| Field Name | Description |
| --- | --- |
| asset | 
Field Type

string

Description

Required.

The name of workspace asset



 |
| assetType | 

Field Type

AnalyticsWorkspaceAssetType (enumeration of type string)

Description

Required.

The workspace asset type

Values are:

- AnalyticsDashboard (Tableau Next Dashboard)
- AnalyticsVisualization (Tableau Next Visualization)
- MktCalculatedInsightObject (Data 360 Calculated Insight Object)
- MktDataConnection (Data 360 Connection)
- MktDataLakeObject (Data 360 Data Lake Object)
- MktDataModelObject (Data 360 Data Model Object)
- SemanticModel (Semantic Model)





 |
| assetUsageType | 

Field Type

AnalyticsWorkspaceAssetUsageType (enumeration of type string)

Description

Required.

The workspace asset usage type.

Values are:

- Created
- Referenced





 |
| metadataSourceType | 

Field Type

AnalyticsWorkspaceAssetMetadataSourceType (enumeration of type string)

Description

The workspace asset metadata source type.

Values are:

- Promoted
- Reused





 |
| workspace | 

Field Type

string

Description

Required.

The workspace the asset belongs to.



 |

## Declarative Metadata Sample Definition

The following is an example of an AnalyticsWorkspace component.

<?xml version="1.0" encoding="UTF-8"?>
  <AnalyticsWorkspace xmlns="http://soap.sforce.com/2006/04/metadata">
  <description\>An example for Analytics Workspace</description\>
  <masterLabel\>Analytics Workspace</masterLabel\>
  <workspaceAssetRelationships\>
  	  <asset\>My Test Dashboard</asset\>
  	  <assetType\>AnalyticsDashboard</assetType\>
  	  <assetUsageType\>Created</assetUsageType\>
  	  <metadataSourceType\>Promoted</metadataSourceType\>
  	  <workspace\>Analytics Workspace</workspace\>
  </workspaceAssetRelationships\>
</AnalyticsWorkspace\>

The following is an example package.xml that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
  <types\>
    <members\>\*</members\>
    <name\>AnalyticsWorkspace</name\>
  </types\>
  <version\>64.0</version\>
</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](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/file_based_zip_file.htm "The deploy() and retrieve() calls are used to deploy and retrieve a .zip file. Within the .zip file is a project manifest (package.xml) that lists what to retrieve or deploy, and one or more XML components that are organized into folders.").