IconDefinition

Represents an icon, such as used for a tab.

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

Note

Version 

Introduced in API version 43.0.

Supported SOAP API Calls 

describeSObjects(), query()

Supported REST API Methods 

Query

Fields 

ContentType 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The tab icon’s content type, for example, image/png.

DurableId 

  • Type: string

  • Required: No

  • 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

  • Required: No

  • 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

  • Required: No

  • Properties: Filter, Nillable, Sort

  • Description: The ID of the tab this definition belongs to. Defaults to null.

Theme 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The user interface theme this definition is associated with.

Url 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The fully qualified URL for this icon. The default icon is a cloud.

Width 

  • Type: int

  • Required: No

  • 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.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!