RelationshipDomain

Represents the relationship an object has with other objects. RelationshipDomain allows you to write simpler queries. For example, “which objects are the child objects for the object defined in ParentSobject” is easier using RelationshipDomain.

Version 

Introduced in API version 34.0.

Supported SOAP API Calls 

describeSObjects(), query()

Supported REST API Methods 

Query

Limitations 

SOQL Limitations

SOSL Limitations

Fields 

ChildSobjectId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: ID of the ChildSobject.

DurableId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: Unique identifier for the field. Always retrieve this value before using it, as the value isn’t guaranteed to stay the same from one release to the next. To simplify queries, use this field.

FieldId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: ID of Field.

IsCascadeDelete 

  • Type: boolean

  • Required: No

  • Properties: Defaulted on create, Filter, Group, Sort

  • Description: If true, this object’s parent can’t be deleted until all records for this object are deleted. Corresponds to Cascade value for DeleteConstraint in the Metadata API.

  • Default value: false

IsDeprecatedAndHidden 

  • Type: boolean

  • Required: No

  • Properties: Defaulted on create, Filter, Group, Sort

  • Description: If true, this object is unavailable for the current version.

  • Default value: false

IsRestrictedDelete 

  • Type: boolean

  • Required: No

  • Properties: Defaulted on create, Filter, Group, Sort

  • Description: If true, this object can’t be deleted. Corresponds to Restrict value for DeleteConstraint in the Metadata API.

  • Default value: false

JunctionIdListNames 

  • Type: complexvalue

  • Required: No

  • Properties: Nillable

  • Introduced: API version 37.0

  • Description: The names of the lists of junction IDs associated with an object. Each ID represents an object that has a relationship with the associated object.

ParentSobjectId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: ID of the ParentSobject.

RelationshipInfoId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: ID of RelationshipInfo for this relationship domain.

RelationshipName 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: Name of this relationship.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!