WaveApplication represents a CRM Analytics application: its application/folder identity, sharing rules, and template provenance. It provides the organizational and access-control context used by analytics assets. It is not the dashboard, dataset, recipe, or dataflow definition itself.
The application has an internal name and a separate user-facing label. Its sharing entries determine who can view or modify its contents and who can administer access.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
The component's metadata full name, inherited from Metadata. Keep it distinct from the displayed label. |
folder |
The internal API name of the folder or application. |
masterLabel |
The user-facing label of the folder or application. This label does not define its internal name. |
assetIcon |
The application icon. It can reference a Document, but a platform image path is also supported. |
shares |
An array of FolderShare settings that grants access to recipients. |
accessLevel |
Required within each shares entry. Allowed values are View, EditAllContents, and Manage. |
sharedTo |
Required within each shares entry. Identifies the recipient; interpret it together with sharedToType. |
sharedToType |
Required within each shares entry. Selects the audience category. Supported audiences include User, Group, Role, Organization, Territory, TerritoryAndSubordinates, RoleAndSubordinates, and RoleAndSubordinatesInternal. |
templateOrigin |
The internal unique name of the template used to create the application. It can reference WaveBundle and is blank for an application not created from a template. |
templateVersion |
The version assigned by the template creator, not a Metadata API version. It is blank for an application not created from a template. |
Behavior and Constraints
Interpret the three fields in each shares entry together: sharedTo identifies the recipient, sharedToType identifies the audience category, and accessLevel determines the granted capabilities.
-
Viewprovides viewing access. -
EditAllContentsadds the ability to modify folder contents. -
Manageincludes viewing and editing capabilities plus control over other users' folder access. It grants access administration, not just editing.
Audience selection can substantially broaden access. Organization grants the selected access level to all internal users. RoleAndSubordinatesInternal includes users in the specified role and subordinate roles, but excludes public portal users.
RoleAndSubordinates is available only when digital experiences is enabled and Experience Cloud site users have external account roles other than a shared person account role.
templateOrigin and templateVersion record creation provenance: which template created the application and the version its creator assigned. Both fields are blank when the application was not created from a template.
An assetIcon value is not necessarily a component name. A platform image path such as /analytics/wave/web/proto/images/app/icons/11.png is also a documented form, so do not automatically interpret every icon value as a Document dependency.
Deployment and Retrieval
WaveApplication components use the .wapp suffix and are stored in the wave folder. The type supports the * wildcard in a package.xml manifest.
Deploying an application definition does not replace deploying its analytics asset definitions. Dashboards, datasets, recipes, dataflows, and other related assets use their own metadata types and point to the application through their reference elements. Those definitions are not embedded in WaveApplication.
When interpreting references, distinguish folder, the internal API name, from masterLabel, the displayed label. The available relationships identify possible connections; they do not establish that every application uses every asset type or prescribe one deployment order for all applications.
Analytics enablement can be relevant when diagnosing scratch-org deployment problems. The reported scratch-org setup below succeeded with a simple WaveDataflow; it does not establish a universal deployment prerequisite for WaveApplication.
Relationships
Outgoing references cover the icon, sharing recipients, and originating template. Incoming references associate separate analytics definitions with the application. Within shares, the associations from sharedTo to Group, Role, and TerritoryModel are alternative recipient relationships, not simultaneous dependencies. Other audience types, including User, are also supported by sharedToType.
References
-
Document:assetIcon, when the value identifies a document rather than a platform image path. -
Group:sharedTowithinshares. -
Role:sharedTowithinshares. -
TerritoryModel:sharedTowithinshares. -
WaveBundle:templateOrigin.
Referenced By
-
DiscoveryStory:application. -
ReferencedDashboard:application. -
WaveAnalyticAssetCollection:folder. -
WaveComponent:application. -
WaveDataflow:application. -
WaveDashboard:application. -
WaveDataset:application. -
WaveLens:application. -
WaveRecipe:application. -
WaveXmd:application.
These reference elements belong to the referring definitions, not to WaveApplication.
Reported Issues
-
Scratch-org deployment was reported to succeed after Analytics setup. In April 2023, a community report described adding
DevelopmentWaveandAnalyticsAdminPermsto the scratch-org features, installing the Analytics CLI plugin, and enabling Analytics before pushing source. The successful push included a simpleWaveDataflow. Treat this as conditional environment guidance, not a verified requirement for everyWaveApplicationdeployment. See the scratch-org deployment discussion. -
A recipe deployment can report a missing dataflow even when the application is included. In a 2021 report, a deployment containing
WaveApplication,WaveDataset, andWaveRecipefailed with "A Recipe must specify a Dataflow". A response reported that source retrieval could pull the recipe without its required dataflow and recommended explicitly retrieving the same-namedWaveDataflowand including it in the package or change set. This concerns the recipe's related definition, not content embedded in the application. See the missing recipe dataflow discussion.
Common Questions
Where are WaveApplication files stored, and can I retrieve them with a wildcard?
They use the .wapp suffix in the wave folder. WaveApplication supports * in a package.xml manifest.
Does deploying WaveApplication also deploy its dashboards and datasets?
The application metadata does not embed those definitions. Dashboards, datasets, and other analytics assets have separate metadata types that reference the application.
What is the difference between folder and masterLabel?
folder is the internal API name of the application or folder. masterLabel is the user-facing label. Do not treat the displayed label as the definition of the internal name.
Does Manage sharing only allow users to edit application contents?
No. Manage includes viewing and editing capabilities and also lets recipients control other users' folder access. EditAllContents provides content-editing access without that access-administration grant.
Do scratch orgs need DevelopmentWave and AnalyticsAdminPerms to deploy WaveApplication?
A community report used those features and enabled Analytics before successfully pushing a simple WaveDataflow. That result can help diagnose environment setup, but it does not verify a universal requirement for WaveApplication.