Newer Version Available
FieldSrcTrgtRelationship
Stores the relationships between Data Model Objects and their fields.
For example, the Individual.Id field has a one-to-many relationship (1:M) with the ContactPointEmail.PartyId field.
File Suffix and Directory Location
FieldSrcTrgtRelationship components have the suffix fieldSrcTrgtRelationship and are stored in the fieldSrcTrgtRelationship folder.
Version
FieldSrcTrgtRelationship components are available in API version 51.0 and later.
Special Access Rules
You need the Salesforce CustomizeApplication permission to access this object.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| definitionCreationType | DefinitionCreationType | Optional. Describes whether this object was added as the result of the Customer or as part of a Standard Taxonomy. |
| masterLabel | string | Required. The UI name for the field relationship. |
| relationshipCardinality | RelationshipCardinality | Cardinality of the Relationship between Source and Target Fields. Options are: OneToOne, OneToMany, or ManyToMany. |
| sourceFieldName | string | Name of the Field that represents the Source side of the relationship |
| targetFieldName | string | Name of Field that represents the Target side of the relationship. |