DataConnector defines the white-labeled configuration for an external connector in Data 360: its branding, configurable inputs, declared capabilities, error messages, and localized text. Its nested attributes and options describe the configuration interface and inputs used during data operations.
A DataConnector is not a record of successful authentication or a completed import or synchronization. Its component identity, underlying connector API name, and display label are also separate values.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
The component identity inherited from Metadata. It is distinct from the underlying connector name and the UI label. |
parentConnector |
The underlying connector's API name, such as AwsS3, SNOWFLAKE, or ICEBERG. |
description, masterLabel
|
Required connector description and UI display label. |
releaseLevel |
Required lifecycle stage: BETA, GA, IN_DEV, or PILOT. It does not indicate connection health or authentication status. |
features |
Connector-level feature declarations. Salesforce documents Override; the broader exposed enumeration is discussed under Documentation Inconsistencies. |
attributes |
Nested DataConnectorAttribute definitions for configurable inputs. Each attribute requires externalName, masterLabel, order, and dataType. |
dataType |
An attribute's expected input or control type. Alongside text, numeric, date, and selection controls, values include IDP, NAMED_CREDENTIAL, PASSWORD, PASSWORD_FILE, and PRIVATE_NETWORK_ROUTE. |
required, defaultValue, min, max, pattern, validationMessageError
|
Attribute input expectations. The default applies when no user input is provided. Minimum and maximum can constrain value or length; the pattern validates format. validationMessageError supplies the field-level validation failure message. |
editable, readonly, secure
|
Whether users can modify an attribute and whether sensitive input should be masked. Masking does not establish encryption or access permissions. |
command, commandAttributes
|
An attribute's command executed during operations such as import or synchronization, and the attributes passed to that command. These are operational settings, not just display text. |
options, conditionAttributes
|
Selectable attribute options and, on each option, the attributes used to define configuration conditions. |
capabilities |
Declarations on an attribute or option, including DataInDelete, DataInIncremental, DataOut, ZeroCopyIn, Hidden, and UniqueGroup. They apply at their containing scope. |
errors |
Nested error-message or code definitions for connector behavior or configuration validation. Each requires externalName and masterLabel; its externalName must be unique across the namespace. |
translations |
Localized text on the connector, attributes, options, and errors. Each LocalizedValue identifies the language, aspect, and translated value and exposes an outOfDate flag. |
icon, ownerLogo
|
Static resource references. Each resource must be SVG, measure 100x100 pixels, and have a file size no greater than 100 KB. |
Behavior and Constraints
Keep declarations at their own scope. Connector-level features, attribute capabilities, and option capabilities are separate declarations. A capability describes support at that level, not observed use of that capability. Likewise, a credential- or routing-oriented dataType does not establish that a usable credential or route has been configured.
Interpret required, defaultValue, min, max, and pattern together when defining an input. Read editable and readonly together as well: both describe whether a user can change the value. Do not treat secure as a substitute for credential configuration or access controls.
Nested names are not labels. Attributes and options each require externalName, masterLabel, and order; attributes also require dataType. Their externalName is an external reference name, while masterLabel is the UI label. Attributes, options, and errors also expose fullName. Do not substitute a display label for a component or external identity.
Attribute order describes display or evaluation order. Option order describes processing order or priority. Neither establishes a global execution sequence for all connector operations.
Error definitions are not an error history. The errors collection defines messages or codes associated with behavior or validation. These connector-level definitions are separate from an attribute's validationMessageError.
Localization has four scopes: connector, attribute, option, and error. Within LocalizedValue, language identifies the language, aspect identifies the text being localized, and value supplies the localized text. Connector-level translations do not replace the separate translations on nested definitions.
Publisher and assistance fields include ownerName, ownerLocation, licenseAgreement, supportEmail, supportPhone, and supportMessage. They provide ownership, legal, and support information. In particular, ownerLocation can be descriptive text or a URL; it is not necessarily an operational endpoint.
There are no additional access requirements specific to this metadata type.
Deployment and Retrieval
DataConnector components use the .dataconnector suffix and reside in the dataconnectors folder. The inherited fullName identifies the component; parentConnector identifies its underlying connector rather than the component being deployed or retrieved.
The type supports the * wildcard in a package.xml manifest. Use DataConnector as the type name to select connector components. Select the referenced StaticResource components separately when moving the branding assets with the connector definition.
For deployment, the connector requires description, masterLabel, and releaseLevel. Preserve the required fields on nested attributes, options, and errors, including the namespace-wide uniqueness of an error's externalName. The SVG format, dimensions, and file-size constraints apply separately to both branding resource references.
Relationships
DataConnector contains nested DataConnectorAttribute, DataConnectorAttributeOpt, and DataConnectorError definitions, with LocalizedValue entries for localized text. These are parts of the connector configuration, not separate records of authenticated connections or completed operations.
Name-based association: parentConnector names the underlying connector by API name. Keep this association separate from the DataConnector component's own fullName.
References
-
StaticResource:icon,ownerLogo.
Documentation Inconsistencies
Salesforce's DataConnector documentation lists only Override for connector-level features. The exposed element enumeration also includes DataIn, DataInFrequentIngest, DataInStructured, DataInUnstructured, DataOut, FileBased, FileBasedDataSync, Hidden, ObjectBased, ReadonlyConnection, StaticSchema, Streaming, and ZeroCopyIn.
This broader enumeration does not establish the behavior or compatibility of those features for an individual parentConnector. Do not treat the connector-level feature enumeration as interchangeable with attribute- or option-level capabilities.
Common Questions
How do I retrieve all DataConnector metadata?
Use the type name DataConnector with the * member in package.xml. Components use the .dataconnector suffix in the dataconnectors folder. Select referenced StaticResource components separately if you also need the branding assets.
Is parentConnector the DataConnector component name?
No. fullName identifies the metadata component. parentConnector names the underlying connector, such as SNOWFLAKE or ICEBERG, and masterLabel supplies the UI label.
Does deploying a DataConnector prove that authentication works?
No. The definition describes configuration inputs and capabilities, not authentication results. A NAMED_CREDENTIAL, PASSWORD, or PRIVATE_NETWORK_ROUTE input type does not establish a usable credential or route, and releaseLevel is a lifecycle stage rather than a health indicator.
What are the DataConnector icon and ownerLogo requirements?
Both fields reference static resources. Each resource must be SVG, measure 100x100 pixels, and have a file size no greater than 100 KB.
Why do errors and validationMessageError both exist?
errors defines connector-level messages or codes related to behavior or configuration validation. An attribute's validationMessageError is the message shown when that specific field fails input validation. Neither is a history of observed failures.