---
schema_version: "1"
id: 62e3f63d5594835c964ac4f1f61b3a51924038a09d062bef8c1b83f9397016ac
title: IconDefinition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_icondefinition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_icondefinition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7b88348aafe20e627ec307888166cf7b4b8589176195dc788425c2c5b6911a5a
description: Represents an icon, such as used for a tab. Available in API version 43.0 and later.
---
# IconDefinition

Represents an icon, such as used for a tab. Available in API version 43.0 and later.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/images/icon_note.png)

#### Note

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

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



 |