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.

RelatedContent Class

Represents the Mobile Cards section of the page layout.

Namespace

Metadata

Usage

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

RelatedContent Properties

The following are properties for RelatedContent.

relatedContentItems

A list of layout items in the Mobile Cards section of the page layout.

Signature

public List<Metadata.RelatedContentItem> relatedContentItems {get; set;}

Property Value

Type: List<Metadata.RelatedContentItem>

RelatedContent Methods

The following are methods for RelatedContent.

clone()

Makes a duplicate copy of the Metadata.RelatedContent.

Signature

public Object clone()

Return Value

Type: Object