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 an icon, such as used for a tab. Available in API version 43.0 and later.

In API version 45.0 and later, only users with the “ViewSetup and Configuration” permission can access IconDefinition.

Note

Supported SOAP Calls

query()

Supported REST HTTP Methods

Query, GET

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
Unique identifier for the field. Always retrieve this value before using it, as the value isn’t guaranteed to stay the same from one release to the next. To simplify queries, use this field.
Height
Type
int
Properties
Filter, Group, Nillable, Sort
Description
Height of the icon in pixels. If the icon content type is SVG, the Height and Width values are not used.
TabDefinitionId
Type
string
Properties
Filter, Nillable, Sort
Description
The ID of the tab this definition belongs to. Defaults to null.
Theme
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The user interface theme this definition is associated with.
Url
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The fully qualified URL for this icon. The default icon is a cloud.
Width
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The icon’s width in pixels. If the icon content type is SVG, the Height and Width values are not used.