DescribeLayoutSection Class

Represents a section of a layout and consists of one or more columns and one or more rows (an array of QuickAction.DescribeLayoutRow).

Namespace

QuickAction

DescribeLayoutSection Properties

The following are properties for DescribeLayoutSection.

collapsed

The current view of the record details section: collapsed (true) or expanded (false).

Signature

public Boolean collapsed {get; set;}

Property Value

Type: Boolean

layoutsectionid

The unique ID of the record details section in the layout.

Signature

public Id layoutsectionid {get; set;}

Property Value

Type: Id

DescribeLayoutSection Methods

The following are methods for DescribeLayoutSection.

getColumns()

Returns the number of columns in the QuickAction.DescribeLayoutSection.

Signature

public Integer getColumns()

Return Value

Type: Integer

getHeading()

The heading text (label) for the QuickAction.DescribeLayoutSection.

Signature

public String getHeading()

Return Value

Type: String

getLayoutRows()

Returns an array of one or more QuickAction.DescribeLayoutRow objects.

Signature

public List<QuickAction.DescribeLayoutRow> getLayoutRows()

Return Value

Type: List<QuickAction.DescribeLayoutRow>

getLayoutSectionId()

Returns the ID of the record details section in the layout.

Signature

public Id getLayoutSectionId()

Return Value

Type: Id

getParentLayoutId()

Returns the ID of the layout upon which this DescribeLayoutSection resides.

Signature

public Id getParentLayoutId()

Return Value

Type: Id

getRows()

Returns the number of rows in the QuickAction.DescribeLayoutSection.

Signature

public Integer getRows()

Return Value

Type: Integer

isCollapsed()

Indicates whether the record details section is collapsed (true) or expanded (false). If you build your own app, you can use this method to see whether the current user collapsed a section, and respect that preference in your own UI.

Signature

public Boolean isCollapsed()

Return Value

Type: Boolean

isUseCollapsibleSection()

Indicates whether the QuickAction.DescribeLayoutSection is a collapsible section (true) or not (false).

Signature

public Boolean isUseCollapsibleSection()

Return Value

Type: Boolean

isUseHeading()

Indicates whether to use the heading (true) or not (false).

Signature

public Boolean isUseHeading()

Return Value

Type: Boolean