WaveComponent represents an Analytics component associated with an Analytics application. It extends MetadataWithContent and inherits content and fullName, so the definition includes component content as well as descriptive metadata.
Metadata API support does not mean that you can edit the component through the API: modifications to the .wcomp component are unsupported. Also distinguish the component's application association from its display name: application identifies the application, while masterLabel names the component in the user interface.
Key Elements
| Element | What the Element Controls |
|---|---|
application |
Required. The internal name of the associated Analytics application. References WaveApplication. |
masterLabel |
Required. The component name displayed in the user interface. It is not the application's internal name. |
description |
The component description displayed in the user interface. |
templateAssetSourceName |
Links the component to the template used to create it. Null for assets not created from a template. |
content |
Inherited from MetadataWithContent. Holds component content; its presence does not make modifications to the .wcomp component supported. |
fullName |
The metadata full name inherited from MetadataWithContent, distinct from the user-facing component name in masterLabel. |
Behavior and Constraints
Both application and masterLabel are required, but they serve different purposes. Use the application's internal name for application and the component's user-facing name for masterLabel.
templateAssetSourceName records template provenance: which template was used to create the component. It is not a separate application association. A null value is expected for a component that was not created from a template.
The unsupported-modification restriction applies to the .wcomp component. The inherited content field and the availability of the metadata type must not be treated as permission to edit component content through Metadata API.
Deployment and Retrieval
WaveComponent files use the .wcomp suffix and are stored in the wave folder.
The type supports the wildcard character * in the package.xml manifest. You can use it to select all WaveComponent members for retrieval rather than listing each component individually. Wildcard support does not change the restriction on modifying .wcomp components.
When reviewing dependencies, use application to identify the associated WaveApplication. That reference alone does not establish a mandatory deployment sequence.
Relationships
The application reference identifies the Analytics application associated with the component. Keep this element reference separate from templateAssetSourceName, which records the component's template origin.
References
-
WaveApplication:application.
Common Questions
Can I edit a WaveComponent through Metadata API?
Modifications to the .wcomp component are unsupported. The type's availability through Metadata API and its inherited content field do not imply editing support.
Where are WaveComponent files stored?
They are stored in the wave folder with the .wcomp suffix.
Can I retrieve all WaveComponent members with a wildcard?
Yes. WaveComponent supports * in the package.xml manifest.
What value belongs in the application element?
Use the associated Analytics application's internal name. The required masterLabel element instead holds the component name shown in the user interface.
Why is templateAssetSourceName null?
It is null for assets not created from a template. The element records template origin, not the component's application association.