---
schema_version: "1"
id: 408a6bab49245559cfb620b742858290ddc2f934e02667e09e2d3117c7c70569
title: SummaryLayoutItem Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_Metadata_SummaryLayoutItem.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayoutItem.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0db90b85ce6dc058549a24076825c776b58bdcdac516266ae858b4630e6b1173
description: Controls the appearance of an individual field and its column and row position within the highlights panel grid, when Case Feed is enabled. You can have two fields per each grid in a highlights panel.The custom link reference.The field name reference, relative to the page layout. Must be a standard or custom field that also exists on the detail page.The item's column position in the highlights panel grid. Must be within the range of sizeX.The item's row position in the highlights panel grid. Must be within the range of sizeY.Reserved for future use. If provided, the setting is not visible to users.Makes a duplicate copy of the Metadata.SummaryLayoutItem.
---
# SummaryLayoutItem Class

Controls the appearance of an individual field and its column and row position within the highlights panel grid, when Case Feed is enabled. You can have two fields per each grid in a highlights panel.

## Namespace

[Metadata](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_Metadata.htm "The Metadata namespace provides classes and methods for working with custom metadata in Salesforce")

## Usage

Use this class when accessing [Metadata.Layout](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_Layout.htm#apex_class_Metadata_Layout "Represents the metadata associated with a page layout.") metadata components. For more information, see “SummaryLayoutItem” in the [Metadata API Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_intro.htm).

- **[SummaryLayoutItem Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayoutItem.htm#apex_Metadata_SummaryLayoutItem_properties)**
- **[SummaryLayoutItem Methods](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayoutItem.htm#apex_Metadata_SummaryLayoutItem_methods)**

## SummaryLayoutItem Properties

The following are properties for SummaryLayoutItem.

- **[customLink](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayoutItem.htm#apex_Metadata_SummaryLayoutItem_customLink)**  
    The custom link reference.
- **[field](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayoutItem.htm#apex_Metadata_SummaryLayoutItem_field)**  
    The field name reference, relative to the page layout. Must be a standard or custom field that also exists on the detail page.
- **[posX](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayoutItem.htm#apex_Metadata_SummaryLayoutItem_posX)**  
    The item's column position in the highlights panel grid. Must be within the range of sizeX.
- **[posY](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayoutItem.htm#apex_Metadata_SummaryLayoutItem_posY)**  
    The item's row position in the highlights panel grid. Must be within the range of sizeY.
- **[posZ](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayoutItem.htm#apex_Metadata_SummaryLayoutItem_posZ)**  
    Reserved for future use. If provided, the setting is not visible to users.

### customLink

The custom link reference.

#### Signature

public String customLink {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### field

The field name reference, relative to the page layout. Must be a standard or custom field that also exists on the detail page.

#### Signature

public String field {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### posX

The item's column position in the highlights panel grid. Must be within the range of sizeX.

#### Signature

public Integer posX {get; set;}

#### Property Value

Type: [Integer](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_integer.htm#apex_methods_system_integer "Contains methods for the Integer primitive data type.")

### posY

The item's row position in the highlights panel grid. Must be within the range of sizeY.

#### Signature

public Integer posY {get; set;}

#### Property Value

Type: [Integer](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_integer.htm#apex_methods_system_integer "Contains methods for the Integer primitive data type.")

### posZ

Reserved for future use. If provided, the setting is not visible to users.

#### Signature

public Integer posZ {get; set;}

#### Property Value

Type: [Integer](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_integer.htm#apex_methods_system_integer "Contains methods for the Integer primitive data type.")

## SummaryLayoutItem Methods

The following are methods for SummaryLayoutItem.

- **[clone()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Metadata_SummaryLayoutItem.htm#apex_Metadata_SummaryLayoutItem_clone)**  
    Makes a duplicate copy of the Metadata.SummaryLayoutItem.

### clone()

Makes a duplicate copy of the Metadata.SummaryLayoutItem.

#### Signature

public Object clone()

#### Return Value

Type: Object