PlatformActionList Class

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

Metadata

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

The following are properties for PlatformActionList.

  • actionListContext

    The context of the action list.

  • platformActionListItems

    The actions in the platform action list.

  • relatedSourceEntity

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

The context of the action list.

public Metadata.PlatformActionListContextEnum actionListContext {get; set;}

Type: Metadata.PlatformActionListContextEnum

The actions in the platform action list.

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

Type: List<Metadata.PlatformActionListItem>

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

public String relatedSourceEntity {get; set;}

Type: String

The following are methods for PlatformActionList.

  • clone()

    Makes a duplicate copy of the Metadata.PlatformActionList.

Makes a duplicate copy of the Metadata.PlatformActionList.

public Object clone()

Type: Object