SidebarComponent Class
Represents a specific custom console component to display in a
container that hosts multiple components in one of the sidebars of the Salesforce
console.
Namespace
Usage
Use this class when accessing Metadata.Layout metadata components. For more information, see
“SidebarComponent” in the Metadata API Developer Guide.
SidebarComponent Properties
The following are properties for SidebarComponent.
componentType
Specifies the component type. Valid values are “KnowledgeOne”,
“Lookup”, “Milestones”, “RelatedList”, “Topics”, “Files”, and “CaseExperts”.
Signature
public String componentType {get; set;}
Property Value
Type: String
height
The height of the component in the container. The unit property determines the unit of measurement, in pixels or
percent.
Signature
public Integer height {get; set;}
Property Value
Type: Integer
knowledgeOneEnable
Signature
public Boolean knowledgeOneEnable {get; set;}
Property Value
Type: Boolean
label
The name of the component as it displays to console users. Available
for components in a container with the style of tabs or accordion.
Signature
public String label {get; set;}
Property Value
Type: String
unit
The unit of measurement (pixels or percent) for the height and width
of the component in the container.
Signature
public String unit {get; set;}
Property Value
Type: String
width
The width of the component in the container. The unit property determines the unit of measurement, in pixels or
percent.
Signature
public Integer width {get; set;}
Property Value
Type: Integer