WaveDataset represents a dataset's metadata in Salesforce Analytics. It defines the dataset's application association, user-facing label, description, dataset type, and template provenance. Analytical assets such as lenses, recipes, discovery definitions, and extended metadata can reference it.
The dataset definition is separate from the assets that use it. In particular, a recipe's target dataset setting belongs to WaveRecipe, not to WaveDataset. The dataset's metadata identity, application association, and display label are also separate values.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
The metadata component's identity, inherited from Metadata. It is distinct from the user-facing label. |
application |
Required. Identifies the associated WaveApplication by its internal name, not its display label. |
masterLabel |
Required. Supplies the dataset's user-facing label. |
description |
Supplies the dataset description shown in the user interface. |
type |
A string identifying the dataset type. Values include Default, Live, StagedData, and Trended. |
templateAssetSourceName |
Links a template-created dataset to its originating template through WaveBundle. It is null for assets not created from a template. |
Behavior and Constraints
application and masterLabel are both required, but serve different purposes. Use the application's internal name for application; use the dataset's intended display label for masterLabel. Neither replaces the component identity supplied by fullName.
Default is a dataset type value. Its name does not establish that Salesforce automatically supplies that value when type is omitted.
templateAssetSourceName records template provenance: which template created the dataset. It does not contain a recipe definition or identify the recipe that targets the dataset.
Deployment and Retrieval
WaveDataset components use the .wds suffix and reside in the wave folder. The type supports the * wildcard in a package.xml manifest.
For dependency analysis, distinguish the dataset's own references from assets that reference the dataset. Its outgoing references identify an application and, for template-created assets, a template. Lenses, recipes, discovery assets, collections, and extended metadata can reference the dataset separately.
A deployment involving a recipe-created dataset can fail because of a missing recipe-related component rather than a dataset setting. The reported error A Recipe must specify a Dataflow warrants checking the recipe's retrieved metadata and associated WaveDataflow. It does not establish a requirement to deploy a dataflow with every WaveDataset.
Relationships
The dataset points to its application and originating template. Incoming references identify assets that use or target the dataset; these connections do not mean those assets are contained in the dataset definition or establish a mandatory deployment order.
References
-
WaveApplication:application -
WaveBundle:templateAssetSourceName
Referenced By
-
DiscoveryGoal:source -
DiscoveryStory:sourceContainer -
WaveAnalyticAssetCollection:asset -
WaveLens:datasets -
WaveRecipe:targetDatasetAlias -
WaveXmd:dataset
Reported Issues
-
A missing recipe dataflow can block deployment even when the dataset is included. In a 2021 report, deploying
WaveApplication,WaveDataset, andWaveRecipeproducedA Recipe must specify a Dataflow. A respondent attributed the failure to retrieval omitting the recipe'sWaveDataflowand reported success after explicitly retrieving it and including it in the deployment package or change set. This was a recipe-retrieval issue, not a general dataset dependency rule. See the recipe deployment discussion. -
Disabling Analytics or Data Sync may leave a field dependency in place. In June 2020, an admin reported that a lookup-to-master-detail conversion remained blocked by an error ending in
DatasetData: null, even after disabling Analytics. The author reported resolving the block by re-enabling Data Sync, removing the field from its sync definition, and saving. The finding concerns retained Data Sync configuration. The error text does not establish that aWaveDatasetcomponent must be deleted. See the relationship-conversion discussion. -
Analytics setup affected a reported scratch-org deployment workflow. In 2023, an author reported a successful source push containing a simple
WaveDataflowafter addingDevelopmentWaveandAnalyticsAdminPermsto the scratch definition'sfeatures, installing the Analytics CLI plugin, and enabling Analytics before the push. The reported success covered that dataflow deployment, not everyWaveDatasetscenario. See the scratch-org deployment discussion.
Common Questions
Where are WaveDataset metadata files stored?
They use the .wds suffix in the wave folder. You can use the * wildcard for WaveDataset in a package.xml manifest.
Does application contain the dataset's display label?
No. application identifies the associated WaveApplication by its internal name. masterLabel supplies the dataset's display label, and fullName identifies the metadata component.
Why does deployment say "A Recipe must specify a Dataflow" when WaveDataset is included?
A community report attributed this error to retrieval omitting the recipe's WaveDataflow. Explicitly retrieving and including that component reportedly resolved the deployment. The error concerns the recipe, not a universal requirement for datasets.
Does "DatasetData: null" mean I should delete WaveDataset metadata?
Not on that error text alone. In the reported lookup-to-master-detail failure, retained Data Sync configuration caused the block. Removing the field from its sync definition and saving reportedly resolved it, even though disabling Analytics had not.