RelatedListDefinition

Represents information about a related list. A related list specifies a set of records for a related object, based on specific criteria.

Version 

Introduced in API version 55.0.

Supported SOAP API Calls 

describeSObjects(), query()

Supported REST API Methods 

Query

Special Access Rules 

  • This object is read-only.

Fields 

DefaultSort 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The default sort string for the related list.

DurableId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The unique identifier for the related list. Always retrieve this value before using it, as the value can change from one release to the next. Simplify queries by using this field instead of making multiple queries.

EntityDefinitionId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The ID of the entity containing the related list.

This is a relationship field.

IsCustomizable 

  • Type: boolean

  • Required: No

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

  • Description: Indicates whether columns on the related list can be customized (true) or not (false).

The default value is false.

  • Default value: false

IsDescribable 

  • Type: boolean

  • Required: No

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

  • Description: Indicates whether the related list can appear in describeLayout call results (true) or not (false).

The default value is false.

  • Default value: false

IsLayoutable 

  • Type: boolean

  • Required: No

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

  • Description: Indicates whether the related list can be assigned to a layout. (true) or not (false).

The default value is false.

  • Default value: false

Label 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The label for the related list.

ParentEntityDefinitionId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The ID of the ParentEntityDefinition that’s associated with the rows in the related list.

This is a relationship field.

RelatedListId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The ID of the related list.

RelatedListName 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The unique name of the related list in the API.

Usage 

  • Find all available related lists for a given entity, for example, an Account record.: ```

SELECT DurableId, Label, RelatedListName FROM RelatedListDefinition WHERE ParentEntityDefinitionId = ‘Account’

No content provided

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