RelatedList Class

Represents related list custom components on the sidebars of the Salesforce console.

Metadata

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

The following are properties for RelatedList.

  • hideOnDetail

    When set to true, the related list is hidden from detail pages where it appears as a component to prevent duplicate information from showing.

  • name

    The name of the component as it appears to console users.

When set to true, the related list is hidden from detail pages where it appears as a component to prevent duplicate information from showing.

public Boolean hideOnDetail {get; set;}

Type: Boolean

The name of the component as it appears to console users.

public String name {get; set;}

Type: String

The following are methods for RelatedList.

  • clone()

    Makes a duplicate copy of the Metadata.RelatedList.

Makes a duplicate copy of the Metadata.RelatedList.

public Object clone()

Type: Object