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