Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
CareRequestConfiguration
Parent Type
This type extends the Metadata metadata type and inherits its fullName field.
File Suffix and Directory Location
CareRequestConfiguration components have the suffix .careRequestConfiguration and are stored in the careRequestConfigurations folder.
Version
CareRequestConfiguration components are available in API version 44.0 and later.
Fields
| Field Name | Description |
|---|---|
| careRequestRecordType |
|
| careRequestRecords |
|
| careRequestType |
|
| isActive |
|
|
|
|
CareRequestRecords
Displays a list of objects to customize the care request.
| Field Name | Description |
|---|---|
| careRequestRecord |
|
Declarative Metadata Sample Definition
This is an example of a CareRequestConfiguration component.
1<?xml version="1.0" encoding="UTF-8"?>
2<CareRequestConfiguration xmlns="http://soap.sforce.com/2006/04/metadata">
3 <careRequestRecordType>DrugRequest</careRequestRecordType>
4 <careRequestRecords>
5 <careRequestRecord>CareRequestItem</careRequestRecord>
6 </careRequestRecords>
7 <careRequestRecords>
8 <careRequestRecord>CareRequestDrug</careRequestRecord>
9 </careRequestRecords>
10 <careRequestType>Drug Request</careRequestType>
11 <isActive>false</isActive>
12 <isDefaultRecordType>false</isDefaultRecordType>
13 <masterLabel>DrugRequest</masterLabel>
14</CareRequestConfiguration>This 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 <types>
4 <members>Case.DrugRequest</members>
5 <name>BusinessProcess</name>
6 </types>
7 <types>
8 <members>*</members>
9 <name>CareRequestConfiguration</name>
10 </types>
11 <types>
12 <members>CareRequest.DrugRequest</members>
13 <members>CareRequestDrug.DrugRequest</members>
14 <members>CareRequestItem.DrugRequest</members>
15 <members>Case.DrugRequest</members>
16 <name>RecordType</name>
17 </types>
18 <version>44.0</version>
19</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.