ExternalDataTranObject defines a Data 360 schema object, including its external fields and an optional transport definition for moving information from a source to a landing entity. It describes schema metadata, not the records being transported. Data 360 must be provisioned for this metadata type to be available.
The external schema and its transport definition are separate layers. Object and field settings describe the external schema; nested MktDataTranObject and MktDataTranField definitions describe transport. In particular, an object's creationType classifies its origin or role; it does not identify its source connector.
Key Elements
Field-level elements below belong to entries in externalDataTranFields, unless the description identifies another scope.
| Element | What the Element Controls |
|---|---|
fullName, masterLabel
|
fullName identifies the metadata component. The object-level masterLabel is the required UI name; a field's masterLabel is an optional label. |
availabilityStatus |
Required object availability value: Available or In_Use. |
creationType |
Required on the object and each external field. Classifies origin or role, with values such as Custom, Standard, System, and Derived. The object value Activation_Audience is reserved for internal use. |
objectCategory |
Required string reference to an object category. Transport categories are Profile, Engagement, or Other; the reference can be qualified. |
externalDataTranFields |
Optional collection of ExternalDataTranField definitions that make up the external schema. |
mktDataTranObject |
Optional related transport definition. Its required source settings include connector, dataSource, and dataSourceObject. |
datatype, dateFormat
|
Each external field requires a datatype. Optional dateFormat describes the representation of date, time, or date/time values. |
length, precision, scale
|
Optional field settings. length describes a string column's length; precision and scale describe numeric and currency representation. |
primaryIndexOrder |
Optional field setting that establishes primary-key membership. Numbering starts at 1 and gives the attribute order in a compound key. Omission means the field is not part of the primary key. |
sequence |
Optional source-schema sequence for a field. It is separate from primary-key order. |
isDataRequired |
Optional boolean indicating whether data is required for the field. It does not establish primary-key membership. |
externalName |
Optional external-system name for a field, distinct from its developer name. |
isCurrencyIsoCode |
Optional boolean identifying an external field as a currency ISO code field, rather than a field holding a currency amount. |
mktDataTranField |
Optional nested transport field definition, with its own datatype, formatting, required-data, numeric, and key settings. |
extDataTranObjectTemplate, extDataTranFieldTemplate
|
Read-only, internal-use associations to data kit template objects. The first belongs to the object; the second belongs to its external fields. |
Behavior and Constraints
Classification is not source identity
creationType distinguishes customer-created, standard-taxonomy, system, derived, and specialized definitions. For example, Custom does not identify a particular connector. Connector and source identity belong to the optional transport definition.
objectCategory is a reference, not necessarily a bare category name. For example, Salesforce_SFDCReferenceModel_0_93.Engagement is a qualified category reference. It is an example, not a default value.
Primary keys and required data are different settings
A primary key identifies a record; a compound primary key uses more than one field. Set primaryIndexOrder on each participating field, starting at 1, to describe that key's attribute order. A field without this element is not part of the primary key.
Do not use sequence as a substitute for key order: it describes source-schema sequence. Likewise, isDataRequired describes whether a field requires data, not whether the field belongs to the key.
Interpret field settings together
Read datatype together with the applicable representation settings: dateFormat for date and time values, length for strings, and precision and scale for numbers and currency. isCurrencyIsoCode identifies a currency code field; it is not the datatype of a currency amount field.
A label or developer name alone does not establish the external source name. That name is recorded separately in externalName.
Keep transport settings in their own scope
MktDataTranObject describes how information reaches a landing entity, including schemas for files, APIs, and events. Its required connector identifies the Data 360 connector, dataSource identifies the source system, and dataSourceObject identifies the source object. These are not direct elements of ExternalDataTranObject. The transport definition also requires its own creationType, masterLabel, and objectCategory.
An external field can contain a corresponding mktDataTranField. That nested definition has its own datatype, dateFormat, isDataRequired, length, precision, scale, primaryIndexOrder, and sequence. Do not treat those nested settings as the enclosing external field's settings.
Access to MktDataTranObject requires CustomizeApplication. This permission requirement belongs to the transport definition; the stated prerequisite for ExternalDataTranObject is Data 360 provisioning.
Deployment and Retrieval
ExternalDataTranObject components use the .externalDataTranObject suffix and reside in the externalDataTranObjects folder. In package.xml, use ExternalDataTranObject as the metadata type name. The type supports * as a manifest member for wildcard selection. See Deploying and Retrieving Metadata with the Zip File.
Data kit deployment maintains the template associations. When a data kit containing a data stream is deployed, the system populates extDataTranObjectTemplate and the contained fields' extDataTranFieldTemplate. Both are read-only and reserved for internal use. They record associated templates; they are not editable configuration for selecting a template.
Relationships
The external schema contains ExternalDataTranField definitions and can include a transport definition with corresponding nested MktDataTranField definitions. Data kit template associations are system-maintained references rather than user-selected configuration.
References
-
MktDataTranObject:mktDataTranObject. -
ExtDataTranObjectTemplate:extDataTranObjectTemplate. -
ExtDataTranFieldTemplate:extDataTranFieldTemplateon contained external fields.
Documentation Inconsistencies
The requiredness of MktDataTranField.creationType differs between the two definitions. The ExternalDataTranObject documentation marks it required in the nested transport field, while the MktDataTranObject subtype documentation marks it optional. Do not assume that the optional designation applies to a transport field nested in ExternalDataTranObject.
Common Questions
Why is ExternalDataTranObject unavailable in my org?
The type is available only when Data 360 is provisioned. Access to the related MktDataTranObject transport definition separately requires CustomizeApplication.
How do I retrieve all ExternalDataTranObject components?
Use ExternalDataTranObject as the type name and * as the member in package.xml. Components use the .externalDataTranObject suffix in the externalDataTranObjects folder.
Does isDataRequired make an external field part of the primary key?
No. isDataRequired indicates whether data is required. primaryIndexOrder establishes key membership and, for a compound key, attribute order starting at 1.
Where do I configure the connector and source object?
They belong to the optional mktDataTranObject definition. Its connector, dataSource, and dataSourceObject identify the connector, source system, and source object. The external object's creationType is a classification, not a connector identity.
Can I set extDataTranObjectTemplate to choose a data kit template?
No. extDataTranObjectTemplate and field-level extDataTranFieldTemplate are read-only, internal-use associations. The system populates them when a data kit containing a data stream is deployed.