---
schema_version: "1"
id: 596b738acd77140a3d43226821d3fe95f6fc739c13d2c3d61a22b968a7d46570
title: RelatedListColumnDefinition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_relatedlistcolumndefinition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_relatedlistcolumndefinition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 26e57e5d048365d8a54a3a501ae70faad39fb47f6a2f5d59ada0e2614fe7b8ed
description: Represents information about a column in a related list. A related list specifies a set of records for a related object, based on specific criteria. This object is available in API version 55.0 and later.
---
# RelatedListColumnDefinition

Represents information about a column in a related list. A related list specifies a set of records for a related object, based on specific criteria. This object is available in API version 55.0 and later.

## Supported Calls

describeSObjects(), query()

## Special Access Rules

This object is read-only.

## Fields

| Field | Details |
| --- | --- |
| Alias | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

The unique alias of the column in the related list.



 |
| ColumnSoql | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The SOQL query string used in a SELECT clause for the column.



 |
| DataType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The field type of the column.



 |
| DurableId | 

Type

string

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.



 |
| FieldDefinitionId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The ID of the FieldDefinition associated with the column, if applicable.

This is a relationship field.

Relationship Name

FieldDefinition

Relationship Type

Lookup

Refers To

FieldDefinition



 |
| IsDefault | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether the column appears on the related list by default (true) or not (false).

The default value is false.



 |
| IsDescribable | 

Type

boolean

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.



 |
| Label | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The label for the column.



 |
| LookupId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The lookup ID for the column.



 |
| RelatedListDefinitionId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The ID of the RelatedListDefinition that contains the column.

This is a relationship field.

Relationship Name

RelatedListDefinition

Relationship Type

Lookup

Refers To

RelatedListDefinition



 |

## Usage

Find all available columns on a related list definition.

SELECT Alias, ColumnSoql, DurableId FROM RelatedListColumnDefinition WHERE RelatedListDefinitionId = 'Account.Opportunities'