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).
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.
-
Returns the number of columns in the
QuickAction.DescribeLayoutSection. -
The heading text (label) for the
QuickAction.DescribeLayoutSection. -
Returns an array of one or more
QuickAction.DescribeLayoutRowobjects. -
Returns the ID of the record details section in the layout.
-
Returns the ID of the layout upon which this
DescribeLayoutSectionresides. -
Returns the number of rows in the
QuickAction.DescribeLayoutSection. -
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. -
Indicates whether the
QuickAction.DescribeLayoutSectionis a collapsible section (true) or not (false). -
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