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).

QuickAction

The following are properties for DescribeLayoutSection.

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

public Boolean collapsed {get; set;}

Type: Boolean

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

public Id layoutsectionid {get; set;}

Type: Id

The following are methods for DescribeLayoutSection.

  • getColumns()

    Returns the number of columns in the QuickAction.DescribeLayoutSection.

  • getHeading()

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

  • getLayoutRows()

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

  • getLayoutSectionId()

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

  • getParentLayoutId()

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

  • getRows()

    Returns the number of rows in the QuickAction.DescribeLayoutSection.

  • 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.

  • isUseCollapsibleSection()

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

  • isUseHeading()

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

Returns the number of columns in the QuickAction.DescribeLayoutSection.

public Integer getColumns()

Type: Integer

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

public String getHeading()

Type: String

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

public List<QuickAction.DescribeLayoutRow> getLayoutRows()

Type: List<QuickAction.DescribeLayoutRow>

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

public Id getLayoutSectionId()

Type: Id

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

public Id getParentLayoutId()

Type: Id

Returns the number of rows in the QuickAction.DescribeLayoutSection.

public Integer getRows()

Type: Integer

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.

public Boolean isCollapsed()

Type: Boolean

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

public Boolean isUseCollapsibleSection()

Type: Boolean

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

public Boolean isUseHeading()

Type: Boolean