---
schema_version: "1"
id: 3822f75a1ec3ce240ad200a09ed8e265e4db8fb49deef86a343549253577823a
title: CompactLayoutItemInfo
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_compactlayoutiteminfo.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_compactlayoutiteminfo.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4b2dba0fc97d6db2eac72196fa23e11ca4e4e14b09fa9193b1fc958d83e6a432
description: Represents a field selected for a compact layout, and the order of that field in the compact layout.
---
# CompactLayoutItemInfo

Represents a field selected for a compact layout, and the order of that field in the compact layout.

This object is available in API version 32.0 and later.

## Supported SOAP Calls

query()

## Supported REST HTTP Methods

GET

## Limitations

[SOQL Limitations](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/reference_objects_soql_limits.htm "Some Tooling API objects have SOQL limitations. These limitations apply to any Metadata Catalog query, which applies to all Custom Metadata Types and Metadata Catalog entities, not only the ones explicitly listed.")

[SOSL Limitations](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/reference_objects_sosl_limits.htm "Two Tooling API objects, EntityDefinition and FieldDefinition, have some SOSL limitations. ExternalString and MetadataComponentDependency (Beta) don’t support SOSL searches.")

## Fields

| Field | Details |
| --- | --- |
| CompactLayoutInfo | 
Type

CompactLayoutInfo

Properties

Filter, Group, Nillable, Sort

Description

The compact layout associated with this CompactLayoutItemInfo.



 |
| CompactLayoutInfoId | 

Type

Id

Properties

Filter, Group, Nillable, Sort

Description

ID of the compact layout associated with this field.



 |
| DurableId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

This field reserved for future use. Do not use.



 |
| FieldDefinition | 

Type

[FieldDefinition](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_fielddefinition.htm "Represents a standard or custom field, providing row-based access to field metadata. Contrast FieldDefinition with EntityParticle, which represents each element of a field that can be presented in a user interface. FieldDefinition has parity with metadata type Field.")

Properties

Filter, Group, Nillable, Sort

Description

Required. The definition of this field.



 |
| FieldDefinitionId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Required. ID of this field.



 |
| SortOrder | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The order of the field in the compact layout. 1 is first.



 |