Newer Version Available
GlobalValueSet
Represents a set of values used by a global picklist. Available from API version 39.0 or
later.
Supported SOAP Calls
create(), query(), retrieve(), search(), update(), upsert()
Supported REST HTTP Methods
Query, GET, POST, PATCH
Fields
| Field Name | Details |
|---|---|
| CustomValue |
|
| Description |
|
| Fullname |
|
| MasterLabel |
|
| Sorted |
|
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 is not 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 currently 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. (Meanwhile, 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 master label. The master label isn’t used if you update the label. |
| ValueName | string | The text of the picklist value. |