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.

PlatformActionListItem Class

Represents an action in the platform action list for a layout.

Namespace

Metadata

Usage

Use this class when accessing Metadata.Layout metadata components. For more information, see “PlatformActionListItem” in the Metadata API Developer Guide.

PlatformActionListItem Properties

The following are properties for PlatformActionListItem.

actionName

The API name for the action in the list.

Signature

public String actionName {get; set;}

Property Value

Type: String

actionType

The type of action.

Signature

public Metadata.PlatformActionTypeEnum actionType {get; set;}

Property Value

Type: Metadata.PlatformActionTypeEnum

sortOrder

The placement of the action in the list.

Signature

public Integer sortOrder {get; set;}

Property Value

Type: Integer

subtype

The subtype of the action.

Signature

public String subtype {get; set;}

Property Value

Type: String

PlatformActionListItem Methods

The following are methods for PlatformActionListItem.

clone()

Makes a duplicate copy of the Metadata.PlatformActionListItem.

Signature

public Object clone()

Return Value

Type: Object