Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DescribeLayoutRow Class

Represents a row in a QuickAction.DescribeLayoutSection.

Namespace

QuickAction

Usage

A QuickAction.DescribeLayoutRow consists of one or more QuickAction.DescribeLayoutItem objects. For each QuickAction.DescribeLayoutRow, a QuickAction.DescribeLayoutItem refers either to a specific field or to an “empty” QuickAction.DescribeLayoutItem (one that contains no QuickAction.DescribeLayoutComponent objects). An empty QuickAction.DescribeLayoutItem can be returned when a given QuickAction.DescribeLayoutRow is sparse (for example, containing more fields on the right column than on the left column).

DescribeLayoutRow Methods

The following are methods for DescribeLayoutRow. All are instance methods.

getLayoutItems()

Returns either a specific field or an empty QuickAction.DescribeLayoutItem (one that contains no QuickAction.DescribeLayoutComponent objects).

Signature

public List<QuickAction.DescribeLayoutItem> getLayoutItems()

Return Value

Type: List<QuickAction.DescribeLayoutItem>

getNumItems()

Returns the number of QuickAction.DescribeLayoutItem.

Signature

public Integer getNumItems()

Return Value

Type: Integer