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.

PrimaryTabComponents Class

Represents custom console components on primary tabs in the Salesforce console.

Namespace

Metadata

Usage

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

PrimaryTabComponents Properties

The following are properties for PrimaryTabComponents.

component

Represents a custom console component (Visualforce page, lookup field, or related lists) on a section of a page layout.

Signature

public List<Metadata.ConsoleComponent> component {get; set;}

Property Value

Type: List<Metadata.ConsoleComponent>

containers

Represents a location and style in which to display more than one custom console component on the sidebars of the Salesforce console.

Signature

public List<Metadata.Container> containers {get; set;}

Property Value

Type: List<Metadata.Container>

PrimaryTabComponents Methods

The following are methods for PrimaryTabComponents.

clone()

Makes a duplicate copy of the Metadata.PrimaryTabComponents.

Signature

public Object clone()

Return Value

Type: Object