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.
ExternalDataConnector
File Suffix and Directory Location
ExternalDataConnector components have the suffix externalDataConnector and are stored in the externalDataConnectors folder.
Version
ExternalDataConnector components are available in API version 50.0 and later.
Special Access Rules
You need the Salesforce CustomizeApplication permission to access this object.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| dataConnectionStatus | DataConnectionStatus (enumeration of type string) | Indicates whether you’re connected to a data source. Valid values are:
|
| dataConnectorConfiguration | string | Reference to the Data Connector Configuration that is used to retrieve or receive data such as DataConnectorS3. |
| dataConnectorType | DataConnectorType (enumeration of type string) | Type of connection such as AmazonS3. Valid values are:
|
| dataPlatform | string | Reference to the Data Platform that provides or uses this data, such as Amazon_S3. |
| externalDataTranObjects | ExternalDataTranObject | Stores the schema objects related to the data connector. Available in API version 56.0 and later. |
| masterLabel | string | Required. The UI name for the ExternalDataConnector. |
Declarative Metadata Sample Definition
The following is an example of a ExternalDataConnector component.
1<?xml version="1.0" encoding="UTF-8"?>
2 <ExternalDataConnector xmlns="http://soap.sforce.com/2006/04/metadata">
3 <dataConnectionStatus>Connected</dataConnectionStatus>
4 <dataConnectorConfiguration>Person</dataConnectorConfiguration>
5 <dataConnectorType>AmazonS3</dataConnectorType>
6 <dataPlatform>Amazon_S3</dataPlatform>
7 <masterLabel>AmazonS3</masterLabel>
8 </ExternalDataConnector>