---
schema_version: "1"
id: 38819f022b07f0833589ba12f3eceea4a7a370820b2578bc98ffbc84797e9247
title: GlobalValueSet
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_globalvalueset.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_globalvalueset.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0e63c860980b0d4a50ade0ae53d54d808423b890aa891ceab319ecc343dbbb98
description: Represents a set of values used by a global picklist. Available from API version 39.0 or later.
---
# GlobalValueSet

Represents a set of values used by a global picklist. Available from API version 39.0 or later.

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

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## Supported SOAP Calls

create(), query(), retrieve(), search(), update(), upsert()

## Supported REST HTTP Methods

Query, GET, POST, PATCH

## Fields

| Field Name | Details |
| --- | --- |
| CustomValue | 
Type

[CustomValue\[\]](#globalvalueset_metadata)

Properties

Filter, Group, Sort

Description

A list of the global picklist values.



 |
| Description | 

Type

string

Properties

Filter, Nillable, Sort

Description

A picklist value’s description. It’s useful to include a description for a picklist value so the reason for creating it can be tracked. Limit: 255 characters.



 |
| FullName | 

Type

string

Properties

Create, Group, Nillable

Description

The full name of the associated metadata object in the Metadata API.

Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.

Any global value set created in API version 57.0 or later automatically has the \_\_gvs suffix appended to FullName. When you make any CRUD-based call with the GlobalValueSet type, you must append the suffix to the FullName field when you reference the type.





 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Sort

Description



 |
| Sorted | 

Type

boolean

Properties

Filter, Group, Sort

Description

True if the picklist values are sorted alphabetically.



 |

## CustomValue Metadata

Metadata about the global value set is returned in the CustomValue field.

| Field | Type | Description |
| --- | --- | --- |
| Color | string | The color assigned to the picklist value when it’s used in charts on reports and dashboards. The color is in hexadecimal format; for example, #FF6600. If a color isn’t specified, it’s assigned dynamically upon chart generation. |
| Default | boolean | Required. Indicates whether this value is the default selection for the global picklist and the custom picklists that share its picklist value set. This field is set to true by default. |
| Description | string | A picklist value’s description. It’s useful to include a description for a picklist value so the reason for creating it can be tracked. Limit: 255 characters. |
| IsActive | boolean | Indicates whether this value is active or inactive. The default value is true. Users can select only active values from a picklist. An API retrieve operation for global picklist values returns all active and inactive values in the picklist. But retrieving the values of a non-global, unrestricted picklist returns only the active values. |
| Label | string | The global picklist value’s label, or API name. If you don’t specify the label when creating a value, it defaults to the text of the picklist value (ValueName). The ValueName isn’t used if you update the label. |
| ValueName | string | The text of the picklist value. |