MiniLayout Class
Represents a mini view of a record in the Console tab, hover details, and event overlays.
Use this class when accessing Metadata.Layout metadata components. For more information, see “MiniLayout” in the Metadata API Developer Guide.
The following are properties for MiniLayout.
-
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.
-
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.
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.
public List<String> fields {get; set;}
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.
public List<Metadata.RelatedListItem> relatedLists {get; set;}
Type: List<Metadata.RelatedListItem>
The following are methods for MiniLayout.
-
Makes a duplicate copy of the
Metadata.MiniLayout.
Makes a duplicate copy of the Metadata.MiniLayout.
public Object clone()
Type: Object