---
schema_version: "1"
id: a88e3018b8243609310ae5798e58a092ad0a73df6e7f929c3dacffad43b97522
title: IconDefinition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_icondefinition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_icondefinition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3a57ec6e0b16e1b65a0a5cb2f54829ec5c1fcfb4b0f676ea53dfc29459770ccd
description: Represents the icon-related metadata for a custom tab. This object is available in API version 43.0 and later.
---
# 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.





 |