Newer Version Available
FieldSrcTrgtRelationship
Stores the relationships between a data model object (DMO) and its fields. For example,
the Individual.Id field has a one-to-many relationship (1:M) with the
ContactPointEmail.PartyId field.
Parent Type
This type extends the Metadata metadata type and inherits its fullName
field.
File Suffix and Directory Location
FieldSrcTrgtRelationship components have the suffix .fieldSrcTrgtRelationship and are stored in the fieldSrcTrgtRelationships folder.
Version
FieldSrcTrgtRelationship components are available in API version 51.0 and later.
Special Access Rules
To access this metadata type, you must have the Customize Application user permission.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| definitionCreationType | DefinitionCreationType (enumeration of type string) | Required. Describes whether this object was added by the user or as part of a standard
taxonomy. Values are:
|
| lookupFieldName | string | Reference to the DMO lookup field. |
| masterLabel | string | Required. The UI name for the field relationship. |
| relationshipCardinality | RelationshipCardinality (enumeration of type string) | Required. Cardinality of the relationship between the source and target fields.
Values are:
|
| sourceFieldName | string | Required. Name of the field that represents the source side of the relationship. |
| targetFieldName | string | Required. Name of the field that represents the target side of the relationship. |