ObjectSourceTargetMap defines an object-level mapping between a source and a target, together with the field-level mappings that describe their correspondence. Either object endpoint can be an MktDataLakeObject or an MktDataModelObject. For example, an Email source object can map to ContactPointEmail.
The object pair establishes the mapping's scope. The nested field mappings describe direct field correspondence, formula-derived values, and event type filters. This metadata defines the mapping, not the endpoint objects or fields themselves.
Key Elements
Elements such as sourceField and filterApplied belong to the child entries in fieldSourceTargetMaps, rather than to the object map directly.
| Element | What the Element Controls |
|---|---|
sourceObjectName |
Required source object name, such as Email or SfmcEnt1_Subscriber. |
targetObjectName |
Required target object name, such as ContactPointEmail or Individual. |
masterLabel |
Required UI label for the object map. It is distinct from the component's identity and its endpoint object names. |
creationType |
Creation category, recorded separately on the object map and its child field mappings. Categories include Custom, Standard, System, Calculated_Insight, and Transform. |
fieldSourceTargetMaps |
Collection of FieldSourceTargetMap entries containing the field-level mappings for this object pair. |
sourceField, targetField
|
Required endpoints of each child field mapping. The documented endpoint types are MktDataLakeField and MktDataModelField. |
isSourceFormula |
Whether the child mapping uses a source formula. When true, sourceFormula is required. |
sourceFormula |
Formula expression used to derive the source value. Documented examples include concatenation, date functions, and constant values. |
filterApplied |
Whether the child mapping is an event type filter: true means it is; false means it is not. |
filterOperationType |
Filtering operator when the child mapping is an event type filter. Although this element is a string, its documented allowed value is Equal. |
filterValue |
For an event type filter, identifies the object containing the event type field. |
Behavior and Constraints
Access to this metadata type requires the Customize Application user permission.
A formula-based mapping does not have to copy the named source field directly. For example, sourceFormula can derive a value through concatenation or a date function, or supply a constant. Setting isSourceFormula to true requires sourceFormula, but does not remove the requirement for sourceField and targetField.
When filterApplied is true, interpret the child entry as an event type filter. filterOperationType specifies the operator, with Equal as the documented value. filterValue is documented as identifying the object containing the event type field.
Interpret creationType at the level where it appears. The object map has its own creation category, and each child field mapping has a separate category. Do not assume that the parent's value describes every child.
sequenceNbr supports consistent display of multiple mappings between the same two objects. It describes presentation order, not a documented execution priority.
Deployment and Retrieval
ObjectSourceTargetMap components use the .objectSourceTargetMap suffix and are stored in the objectSourceTargetMaps folder. The field-level definitions are contained in the component's fieldSourceTargetMaps collection.
The inherited fullName identifies the metadata component. Keep that identity separate from masterLabel, which is the required UI label, and from sourceObjectName and targetObjectName, which identify the mapping endpoints.
When preparing a component for deployment, preserve the required object names and label. Each included child mapping must supply sourceField and targetField; formula-based children must also supply sourceFormula when isSourceFormula is true.
The object and field references identify dependencies, but they do not by themselves establish ownership or a mandatory deployment sequence.
Relationships
The documented object endpoints are MktDataLakeObject or MktDataModelObject, and the field endpoints are MktDataLakeField or MktDataModelField. Dependency classifications also recognize the following references to CustomObject and CustomField.
References
-
CustomObject:sourceObjectName,targetObjectName. -
CustomField:sourceField,targetField, withinfieldSourceTargetMaps.
For impact analysis, distinguish the object pair from its nested field references. An endpoint object change affects the mapping context; a referenced field change concerns the corresponding child mappings.
Common Questions
Where are ObjectSourceTargetMap components stored?
They are stored in the objectSourceTargetMaps folder with the .objectSourceTargetMap suffix. Their field mappings are nested in fieldSourceTargetMaps.
Which permission is required to access ObjectSourceTargetMap?
The Customize Application user permission is required.
Can a formula mapping omit sourceField?
No. Each child mapping requires both sourceField and targetField. If isSourceFormula is true, it also requires sourceFormula, even when the formula supplies a constant or derives a value rather than directly copying the named field.
Does sequenceNbr control mapping execution order?
No execution priority is documented for sequenceNbr. It supports consistent display ordering for multiple mappings between the same two objects.
Does creationType on the object map apply to every field mapping?
Do not assume that it does. creationType is recorded separately on the object map and each child field mapping, so interpret each value at its own scope.