---
schema_version: "1"
id: e07d0b9a6e6c90268233a188f51a0d14469244941b6985b97e10763c860413a5
title: TabDefinition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_tabdefinition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_tabdefinition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2514772b1b7c891d5e95a69620ce92d3984ce49e46a7a74bc9da2d6243069402
description: Represents a tab, and returns all tabs available in the org. Available in API version 43.0 and later.
---
# TabDefinition

Represents a tab, and returns all tabs available in the org. 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 TabDefinition.

## Supported SOAP Calls

query(), search()

## Supported REST HTTP Methods

Query, GET

## Fields

| Field Name | Details |
| --- | --- |
| 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.



 |
| IsAvailableInAloha | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Set to true if the tab is available in the Salesforce Classic user interface. If a tab is available in Salesforce Classic, then IsAvailableInMobile is false.



 |
| IsAvailableInDesktop | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Set to true if the tab is available in the desktop user interface.



 |
| IsAvailableInMobile | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Set to true if the tab is available in the Salesforce mobile app.



 |
| IsAvailableInLightning | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Set to true if the tab is available in the Lightning Experience user interface.



 |
| IsCustom | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Set to true if the tab is a custom tab.



 |
| Label | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The tab label in the Salesforce org.



 |
| MobileUrl | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

If the tab is available in mobile, this is the URL that the tab directs the user to in the Salesforce mobile app. If the tab isn’t available in mobile, this is set to null.



 |
| Name | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The name of the tab.



 |
| SobjectName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Used with REST to retrieve the metadata for the tab.



 |
| Url | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The URL for where the tab directs the user.



 |