<strong>Metadata</strong> TypesLayoutField NameunitwidthField TypestringintDescription• tabs—a single content area with a list of multiple panels.• accordian—a collapsible content area.Required. The unit of measurement, in pixels or percent, for theheight or width of the <strong>com</strong>ponents’ container.Pixel values are simply the number of pixels, for example, 500, andmust be greater than 0 but less than 999. Percentage values mustinclude the percent sign, for example, 20%, and must be greater than0 but less than 100.Required for <strong>com</strong>ponents with a location of right or left. The widthof the <strong>com</strong>ponents’ container. The unit of measurement, in pixelsor percent, is determined by the unit field.SidebarComponentRepresents a specific custom console <strong>com</strong>ponent to display in a container that hosts multiple <strong>com</strong>ponents in one of the sidebarsof the <strong>Salesforce</strong> console. You can specify up to five <strong>com</strong>ponents for each of the four container locations (left, right, top, andbottom). Available in <strong>API</strong> version 30.0 and later.Field NameheightlabellookuppageunitwidthField TypeintstringstringstringstringintDescriptionRequired for <strong>com</strong>ponents with a location of top or bottom. Theheight of the <strong>com</strong>ponent in the container. The unit of measurement,in pixels or percent, is determined by the unit field.The name of the <strong>com</strong>ponent as it displays to console users. Availablefor <strong>com</strong>ponents in a container with the style of tabs or accordion.If the <strong>com</strong>ponent is a lookup field, the name of the field.If the <strong>com</strong>ponent is a Visualforce page, the name of the Visualforcepage.Required. The unit of measurement, in pixels or percent, for theheight or width of the <strong>com</strong>ponent in the container.Pixel values are simply the number of pixels, for example, 500, andmust be greater than 0 but less than 999. Percentage values mustinclude the percent sign, for example, 20%, and must be greater than0 but less than 100.Required for <strong>com</strong>ponents with a location of right or left. The widthof the <strong>com</strong>ponent in the container. The unit of measurement, inpixels or percent, is determined by the unit field.SubtabComponentsRepresents custom console <strong>com</strong>ponents on subtabs in the <strong>Salesforce</strong> console. Available in <strong>API</strong> version 25.0 and later.Field Name<strong>com</strong>ponentField TypeDescriptionConsoleComponent[] Represents a custom console <strong>com</strong>ponent (Visualforce page or lookupfield; Force.<strong>com</strong> Canvas apps not available) on a section of a pagelayout. Custom console <strong>com</strong>ponents only display in the <strong>Salesforce</strong>console. This field is available in <strong>API</strong> version 29.0 and earlier.116
<strong>Metadata</strong> TypesLayoutField NamecontainersField TypeContainer[]DescriptionRepresents a location and style in which to display more than onecustom console <strong>com</strong>ponent on the sidebars of the <strong>Salesforce</strong> console.You can specify up to five <strong>com</strong>ponents for each of the four locations(left, right, top, and bottom). This field is available in <strong>API</strong> version30.0 and later.MiniLayoutRepresents a mini view of a record in the Console tab, hover details, and event overlays.Field NamefieldsrelatedListsField Typestring[]RelatedListItem[]DescriptionThe fields for the mini-layout, listed in the order they appear in theUI. Fields that appear here must appear in the main layout.The mini related list, listed in the order they appear in the UI. Youcannot set sorting on mini related lists. Fields that appear here mustappear in the main layout.LayoutSectionLayoutSection represents a section of a page layout, such as the Custom Links section.Field NamecustomLabeldetailHeadingeditHeadinglabellayoutColumnsstyleField TypebooleanbooleanbooleanstringLayoutColumn[]LayoutSectionStyle(enumeration of typestring)DescriptionIndicates if this section's label is custom or standard (built-in).Custom labels can be any text, but must be translated. Standardlabels have a predefined set of valid values, for example 'SystemInformation', which are automatically translated.Controls if this section appears in the detail page. In the UI, thissetting corresponds to the checkbox in the section details dialog.Controls if this section appears in the edit page.The label; either standard or custom, based on the customLabelflag.The columns of the layout, depending on the style. There may be1, 2, or 3 columns, ordered left to right.The style of the layout:• TwoColumnsTopToBottom - Two columns, tab goes top tobottom• TwoColumnsLeftToRight - Two columns, tab goes left toright• OneColumn - One column• CustomLinks - Contains custom links onlysummaryLayoutSummaryLayoutReserved for future use.LayoutColumnLayoutColumn represents the items in a column within a layout section.117