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.
ExternalDocStorageConfig
Parent Type
File Suffix and Directory Location
ExternalDocStorageConfig components have the suffix .externalDocStorageConfig and are stored in the externalDocStorageConfigs folder.
Version
ExternalDocStorageConfig components are available in API version 57.0 and later.
Fields
| Field Name | Description |
|---|---|
| documentPath |
|
| externalDocStorageIdentifier |
|
| masterLabel |
|
| namedCredential |
|
| recordType |
|
| storageDriveType |
|
| targetObject |
|
Declarative Metadata Sample Definition
The following is an example of a ExternalDocStorageConfig component.
1<?xml version="1.0" encoding="UTF-8"?>
2<ExternalDocStorageConfig
3 xmlns="http://soap.sforce.com/2006/04/metadata">
4 <documentPath>/Salesforce/Contracts/</documentPath>
5 <externalDocStorageIdentifier>ExternalDocIdTest1234</externalDocStorageIdentifier>
6 <masterLabel>Contract_Contract_Lifecycle_Management</masterLabel>
7 <namedCredential>Salesforce</namedCredential>
8 <recordType>ContractLifecycleManagement</recordType>
9 <storageDriveType>MicrosoftOneDrive</storageDriveType>
10 <targetObject>Contract</targetObject>
11</ExternalDocStorageConfig>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package
3 xmlns="http://soap.sforce.com/2006/04/metadata">
4 <fullName>ExternalDocStorageConfigObjectPackage</fullName>
5 <types>
6 <members>Contract_Contract_Lifecycle_Management</members>
7 <name>ExternalDocStorageConfig</name>
8 </types>
9 <version>57.0</version>
10</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.