Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

IconDefinition

Represents the icon-related metadata for a custom tab. This object is available in API version 43.0 and later.

Supported Calls

describeSObjects(), query()

Fields

Field Name Details
ContentType
Type
string
Properties
Filter, Group, Nillable, Sort
Description

The tab icon’s content type, for example, “image/png.”

DurableId
Type
string
Properties
Filter, Group, Nillable, Sort
Description

A unique virtual Salesforce ID for the icon.

Height
Type
int
Properties
Filter, Group, Nillable, Sort
Description

The tab icon’s height in pixels. If the icon content type is an SVG type, height and width values are not used.

TabDefinitionId
Type
string
Properties
Filter, Nillable, Sort
Description

The TabDefinition ID.

This is a relationship field.
Relationship Name
TabDefinition
Relationship Type
Lookup
Refers To
TabDefinition
Theme
Type
string
Properties
Filter, Group, Nillable, Sort
Description

The icon’s theme.

Url
Type
string
Properties
Filter, Group, Nillable, Sort
Description

The fully qualified URL for this icon.

Width
Type
int
Properties
Filter, Group, Nillable, Sort
Description

The tab icon’s width in pixels. If the icon content type is an SVG type, height and width values are not used.