Newer Version Available

This content describes an older version of this product. View Latest

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

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
Properties
Filter, Group, Nillable, Sort
Description
Required. The field definition for 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.

SOQL Limitations

This object doesn't support some SOQL operations.

COUNT()
Example Query: SELECT COUNT() FROM EntityDefinition
Error Returned: The "DurableId" field is of type number, but the value from the external data source is "Account.SearchResult". Contact your administrator for help.
GROUP BY
Example Query: SELECT COUNT(qualifiedapiname), isfeedenabled FROM EntityDefinition GROUP BY isfeedenabled
Error Returned: The requested operation is not yet supported by this SObject storage type, contact salesforce.com support for more information.
LIMIT, LIMIT OFFSET
Example Queries:
SELECT qualifiedapiname FROM EntityDefinition LIMIT 5
SELECT qualifiedapiname FROM EntityDefinition LIMIT 5 OFFSET 10
An incorrect result is returned because LIMIT and LIMIT OFFSET are ignored.
NOT
Example Query: SELECT qualifiedapiname FROM EntityDefinition WHERE qualifiedapiname!='Account'
Error Returned: Only equals comparisons permitted
OR
Example Query: SELECT qualifiedapiname, keyprefix FROM EntityDefinition WHERE isdeletable=true OR (isfeedenabled=false AND keyprefix='01j')
Error Returned: Disjunctions not supported