RecordAlertDataSource
Parent Type
This type extends the Metadata metadata type and inherits its
fullName field.
File Suffix and Directory Location
RecordAlertDataSource components have the suffix recordAlertDataSource and are stored in the recordAlertDataSources folder.
Version
RecordAlertDataSource components are available in API version 54.0 and later.
Fields
| Field Name | Description |
|---|---|
| apexClass |
|
| isActive |
|
| isProtected |
|
| masterLabel |
|
| type |
|
Declarative Metadata Sample Definition
The following is an example of a RecordAlertDataSource component.
1<?xml version="1.0" encoding="UTF-8"?>
2<RecordAlertDataSource xmlns="http://soap.sforce.com/2006/04/metadata">
3 <masterLabel>FeeInfo</masterLabel>
4 <apexClass>SalesforceProvider</apexClass>
5 <isActive>false</isActive>
6</RecordAlertDataSource>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <namespacePrefix>[namespacePrefix]</namespacePrefix>
4 <types>
5 <members>SalesforceProvider</members>
6 <name>ApexClass</name>
7 </types>
8 <types>
9 <members>*</members>
10 <name>RecordAlertDataSource</name>
11 </types>
12 <version>54.0</version>
13</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.