DataConnector

Represents the white-labeled metadata configuration for an external connector in .

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Important

Parent Type 

This type extends Metadata and inherits its fields.

File Suffix and Directory Location 

DataConnector components have the suffix .dataconnector and are stored in the dataconnectors folder.

Version 

Introduced in API version 64.0.

Special Access Rules 

There are no additional access requirements that are specific to this type.

Fields 

attributes 

description 

  • Type: string

  • Required: Yes

  • Description: Required.

    The description of the data connector.

errors 

  • Type: DataConnectorError[]
  • Required: No
  • Description: A list of error messages or codes related to the connector’s behavior or configuration validation.

features 

  • Type: DataConnectorFeature (enumeration of type string)[]

  • Required: No

  • Description: A list of features supported by the data connector.

    Values are:

    Override

icon 

  • Type: string
  • Required: No
  • Description: A static resource in SVG format with dimensions of 100x100 pixels and a file size not exceeding 100 KB.

licenseAgreement 

  • Type: string
  • Required: No
  • Description: Text of the license agreement associated with the data connector.

masterLabel 

  • Type: string

  • Required: Yes

  • Description: Required.

    The display label of the connector used in user interface (UI).

ownerLocation 

  • Type: string
  • Required: No
  • Description: A description or URL that specifies where the connector is maintained or hosted.
  • Type: string
  • Required: No
  • Description: A static resource in SVG format with dimensions of 100x100 pixels and a file size not exceeding 100 KB.

ownerName 

  • Type: string
  • Required: No
  • Description: The name of the organization that owns the connector.

parentConnector 

  • Type: string
  • Required: No
  • Description: The API name of the connector. For example, AwsS3, SNOWFLAKE, ICEBERG, and so on.

releaseLevel 

  • Type: DataConnectorReleaseLevel (enumeration of type string)

  • Required: Yes

  • Description: Required.

    Indicates the connector’s lifecycle stage.

    Values are:

  • Possible values:

    • BETA
    • GA
    • IN_DEV
    • PILOT

supportEmail 

  • Type: string
  • Required: No
  • Description: The support email address users can contact for help with the connector.

supportMessage 

  • Type: string
  • Required: No
  • Description: A support-related message or instruction displayed.

supportPhone 

  • Type: string
  • Required: No
  • Description: The support phone number users can call for help with the connector.

translations 

  • Type: LocalizedValue[]
  • Required: No
  • Description: A list of localized labels and descriptions to support multiple languages in the UI.

DataConnectorAttribute Type 

Parent Type 

This type extends Metadata and inherits its fields.

Fields 

capabilities 

  • Type: DataConnectorCapability (enumeration of type string)[]

  • Required: No

  • Description: A list of supported capabilities for the data connector.

    Values are:

  • Possible values:

    • DataIn
    • DataInDelete
    • DataInHeader
    • DataInIncremental
    • DataInSelector
    • DataInStructured
    • DataInUnstructured
    • DataOut
    • Hidden
    • UniqueGroup
    • ZeroCopyIn

command 

  • Type: string
  • Required: No
  • Description: The command string executed during data operations, such as import or sync.

commandAttributes 

  • Type: string
  • Required: No
  • Description: A list of attributes passed with the command.

dataType 

  • Type: DataConnectorDataType (enumeration of type string)

  • Required: Yes

  • Description: Required.

    Specifies the type of data input expected.

    Values are:

  • Possible values:

    • CHECKBOX
    • COMBOBOX
    • DATE
    • DATETIME
    • EMAIL
    • IDP
    • NAMED_CREDENTIAL
    • NUMBER
    • PASSWORD
    • PASSWORD_FILE
    • PRIVATE_NETWORK_ROUTE
    • RADIO
    • RADIO_BUTTONS
    • TEXT
    • TEXTAREA
    • TIME
    • TOGGLE

defaultValue 

  • Type: string
  • Required: No
  • Description: The default value assigned to the field if no user input is provided.

editable 

  • Type: boolean
  • Required: No
  • Description: Indicates whether the field value can be modified by the user.

externalName 

  • Type: string

  • Required: Yes

  • Description: Required.

    The unique name used to reference the connector externally, such as in API calls.

masterLabel 

  • Type: string

  • Required: Yes

  • Description: Required.

    The label used for display in the UI.

max 

  • Type: string
  • Required: No
  • Description: The maximum allowable value or length for the field.

min 

  • Type: string
  • Required: No
  • Description: The minimum allowable value or length for the field.

options 

order 

  • Type: int

  • Required: Yes

  • Description: Required.

    The display order or evaluation order of the field.

pattern 

  • Type: string
  • Required: No
  • Description: The validation pattern used to ensure input follows a defined format.

placeholder 

  • Type: string
  • Required: No
  • Description: The placeholder text displayed in the input field when empty.

readonly 

  • Type: boolean
  • Required: No
  • Description: Indicates whether the field is read-only.

required 

  • Type: boolean
  • Required: No
  • Description: Indicates whether the field must have a value.

secure 

  • Type: boolean
  • Required: No
  • Description: Indicates whether the field contains sensitive data and should be masked.

tooltip 

  • Type: string
  • Required: No
  • Description: The tooltip text shown to users for additional guidance.

translations 

  • Type: LocalizedValue[]
  • Required: No
  • Description: A list of localized labels and descriptions for use in different languages.

validationMessageError 

  • Type: string
  • Required: No
  • Description: The error message shown when input validation fails for this field.

DataConnectorAttributeOpt Type 

Parent Type 

This type extends Metadata and inherits its fields.

Fields 

capabilities 

  • Type: DataConnectorCapability (enumeration of type string)[]

  • Required: No

  • Description: A list of capabilities supported by the data connector.

    Values are:

  • Possible values:

    • DataIn
    • DataInDelete
    • DataInHeader
    • DataInIncremental
    • DataInSelector
    • DataInStructured
    • DataInUnstructured
    • DataOut
    • Hidden
    • UniqueGroup
    • ZeroCopyIn

conditionAttributes 

  • Type: string
  • Required: No
  • Description: A list of attributes used to define conditions in the connector configuration.

externalName 

  • Type: string

  • Required: Yes

  • Description: Required.

    The unique name used to reference the connector externally, such as in API calls.

masterLabel 

  • Type: string

  • Required: Yes

  • Description: Required.

    The display label for the connector used in the UI.

order 

  • Type: int

  • Required: Yes

  • Description: Required.

    The order or priority of the connector in processing context.

translations 

  • Type: LocalizedValue[]
  • Required: No
  • Description: A list of localized labels and descriptions for use in different languages.

DataConnectorError Type 

Parent Type 

This type extends Metadata and inherits its fields.

Fields 

externalName 

  • Type: string

  • Required: Yes

  • Description: Required.

    The unique name used to reference the object externally, such as in API calls. Must be unique across the namespace.

masterLabel 

  • Type: string

  • Required: Yes

  • Description: Required.

    The label displayed in the UI.

translations 

  • Type: LocalizedValue[]
  • Required: No
  • Description: A list of localized labels and descriptions for use in different languages.

LocalizedValue Type 

Fields 

aspect 

  • Type: TranslationAspect (enumeration of type string)
  • Required: No

language 

  • Type: string
  • Required: No

outOfDate 

  • Type: boolean
  • Required: No

value 

  • Type: string
  • Required: No

Declarative Metadata Sample Definition 

The following is an example of a DataConnector component.

1<?xml version="1.0" encoding="UTF-8"?>
2<DataConnector xmlns="http://soap.sforce.com/2006/04/metadata">
3    <masterLabel>Iceberg Override</masterLabel>
4    <icon>Salesforce</icon>
5    <parentConnector>ICEBERG</parentConnector>
6    <releaseLevel>BETA</releaseLevel>
7    <description>Connect to Apache Iceberg tables</description>
8    <features>Override</features>
9    <ownerName>Slack</ownerName>
10    <ownerLogo>Salesforce</ownerLogo>
11    <ownerLocation>Settle, USA</ownerLocation>
12    <supportMessage>Click download logs before reachout</supportMessage>
13    <supportPhone>+15788467513</supportPhone>
14    <licenseAgreement>https://www.salesforce.com/company/legal</licenseAgreement>
15    <attributes>
16        <fullName>IcebergOverride_storageSourceType</fullName>
17        <externalName>storageSourceType</externalName>
18        <masterLabel>Storage Type</masterLabel>
19        <dataType>COMBOBOX</dataType>
20        <defaultValue>CATALOG_PROVIDED</defaultValue>
21        <capabilities>DataIn</capabilities>
22        <capabilities>Hidden</capabilities>
23        <order>20</order>
24        <editable>true</editable>
25        <required>true</required>
26        <secure>true</secure>
27    </attributes>
28</DataConnector>

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    <types>
4        <members>*</members>
5        <name>DataConnector</name>
6    </types>
7    <types>
8        <members>*</members>
9        <name>StaticResource</name>
10    </types>
11    <version>64.0</version>
12</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.