Newer Version Available
DataStreamTemplate
Parent Type
This type extends the Metadata metadata type and inherits its
fullName field.
File Suffix and Directory Location
DataStreamTemplate components have the suffix .dataStreamTemplate and are stored in the dataStreamTemplates folder.
Version
DataStreamTemplate components are available in API version 53.0 and later.
Special Access Rules
You need the Salesforce Customize Application permission to access this metadata type.
Fields
| Field Name | Description |
|---|---|
| dataSourceBundleDefinition |
|
| dataSourceObject |
|
| masterLabel |
|
| objectCategory |
|
| refreshFrequency |
|
| refreshHours |
|
| refreshMode |
|
Declarative Metadata Sample Definition
The following is an example of a DataStreamTemplate component.
1<DataStreamTemplate xmlns="http://soap.sforce.com/2006/04/metadata">
2 <dataSourceBundleDefinition>b2</dataSourceBundleDefinition>
3 <dataSourceObject>sd3ds</dataSourceObject>
4 <masterLabel>b2</masterLabel>
5 <objectCategory>Profile</objectCategory>
6</DataStreamTemplate>The following is an example package.xml that references the previous definition.
1<types>
2 <members>ssd3s</members>
3 <name>DataStreamTemplate</name>
4 </types>Wildcard Support in the Manifest File
This metadata type doesn’t support 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.