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.

PlatformActionList Class

Represents the list of actions, and their order, that display in the Salesforce mobile action bar for the layout.

Namespace

Metadata

Usage

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

PlatformActionList Properties

The following are properties for PlatformActionList.

actionListContext

The context of the action list.

Signature

public Metadata.PlatformActionListContextEnum actionListContext {get; set;}

platformActionListItems

The actions in the platform action list.

Signature

public List<Metadata.PlatformActionListItem> platformActionListItems {get; set;}

Property Value

Type: List<Metadata.PlatformActionListItem>

relatedSourceEntity

When the actionListContext property is “RelatedList” or” “RelatedListRecord”, this field represents the API name of the related list to which the action belongs.

Signature

public String relatedSourceEntity {get; set;}

Property Value

Type: String

PlatformActionList Methods

The following are methods for PlatformActionList.

clone()

Makes a duplicate copy of the Metadata.PlatformActionList.

Signature

public Object clone()

Return Value

Type: Object