MiniLayout Class

Represents a mini view of a record in the Console tab, hover details, and event overlays.

Namespace

Metadata

Usage

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

MiniLayout Properties

The following are properties for MiniLayout.

fields

The fields for the mini-layout, listed in the order they appear in the UI. Fields that appear in the mini-layout must appear in the main layout.

Signature

public List<String> fields {get; set;}

Property Value

Type: List<String>

relatedLists

The mini related lists, listed in the order they appear in the UI. You cannot set sorting on mini related lists. Fields that appear in the mini related lists must appear in the main layout.

Signature

public List<Metadata.RelatedListItem> relatedLists {get; set;}

Property Value

Type: List<Metadata.RelatedListItem>

MiniLayout Methods

The following are methods for MiniLayout.

clone()

Makes a duplicate copy of the Metadata.MiniLayout.

Signature

public Object clone()

Return Value

Type: Object