DescribeSearchLayoutResult

The describeSearchLayouts() call returns an array of DescribeSearchLayoutResult objects.

Each DescribeSearchLayoutResult object represents the search layout configuration for each object queried for. The DescribeSearchLayoutResult object has the following properties.

NameTypeDescription
labelstringThe browser title used for the search results page.
limitRowsintThe maximum number of rows to be displayed in the first page of search results. This number can be changed by the administrator.
searchColumnsDescribeColumn[]The columns associated with the search results for this object.

DescribeColumn 

Represents the columns in the search layout configuration for each DescribeSearchLayoutResult object returned by the describeSearchLayouts() call.

NameTypeDescription
fieldstringField reference in relation to the object it belongs to. For example, “Lead.Phone.”
formatstringField data format. For example, “date”. This value can be null.
labelstringDisplay text for this field in the user interface. For example, “Company Phone” or just “Phone.”
namestringField name. Use this in your SOQL query or code. For example, “Name.”