DescribeIcon

DescribeIcon contains icon metadata information for a tab.

The describeTabs() call returns an array of DescribeTabSetResult values. Each DescribeTabSetResult contains an array of DescribeTab values, and each DescribeTab contains an array of DescribeIcon values.

Icon information can also be retrieved via the describeTheme() and describeGlobalTheme() calls. These calls return information on icons used for each object in your organization that can use theme icons and colors.

NameTypeDescription
contentTypestringThe tab icon’s content type, for example, “image/png.”
heightintThe tab icon’s height in pixels. If the icon content type is an SVG type, height and width values are not used.
themestringThe associated theme. Possible values include:
  • theme2—Theme used prior to Spring ’10, called the “Salesforce Classic 2005 user interface theme”
  • theme3—Theme introduced in Spring ’10, called the “Salesforce Classic 2010 user interface theme”
  • theme4—Theme introduced in Winter ’14 for the mobile touchscreen version of Salesforce, and in Winter ’16 for Lightning Experience
  • custom—Theme associated with a custom icon
urlstringThe fully qualified URL for this icon.
widthstringThe tab icon’s width in pixels. If the icon content type is an SVG type, height and width values are not used.