---
schema_version: "1"
id: c23db201c0df70dbec5924a52661e96a71186fbcf8c3fe94c6b8edcb8f625219
title: GlobalPicklistValue
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_globalpicklistvalue.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_globalpicklistvalue.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0ffb6c0d6291197d8140a383120b732a050d8aab493fad7d5827d3a261ce5205
description: Represents the definition of a value used in a global picklist. Custom picklist fields can inherit the picklist value set from a global picklist.
---
# GlobalPicklistValue

Represents the definition of a value used in a global picklist. Custom picklist fields can inherit the picklist value set from a global picklist.

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata.htm "The base class for all metadata types. You can’t edit this object. A component is an instance of a metadata type.") metadata type and inherits its fullName field.

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

#### Note

GlobalPicklistValue components don’t have file suffixes or directories because they’re lists of values and not custom fields. For file-based operations they can be accessed through GlobalPicklist (which is in API v37.0 only).

## Version

GlobalPicklistValue components are available in API version 37.0 only. In API version 38.0 and later, GlobalPicklistValue is replaced by [CustomValue](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_customvalue.htm "Represents the definition of a value used in a global value set or local custom picklist. Custom picklist fields can be local and unique, or can inherit their values from a global picklist (called a global value set in API version 38.0). This type extends the Metadata metadata type and inherits its fullName field.").

## Fields

| Field Name | 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 | The global picklist value’s description. It’s useful to include a description for a global 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.) |

## PicklistValue

This metadata type defines a value in the picklist and specifies whether this value is the default value. This type extends the GlobalPicklistValue metadata type and inherits all its fields. In API version 36.0 and earlier, PicklistValue extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata.htm "The base class for all metadata types. You can’t edit this object. A component is an instance of a metadata type.") type and inherits its fullName field.

Note the following when working with picklist values:

- When you retrieve a standard object, all picklist values are retrieved, not just the customized picklist values.
- When you deploy changes to standard picklist fields, picklist values are added as needed.
- To deactivate a global picklist value, you can invoke an update() call on GlobalPicklist with the value omitted, or with the value’s isActive field set to false. Or, you can invoke an update() call directly on GlobalPicklistValue with the isActive field set to false.
- If picklist values are missing from a component definition, they get deactivated when deployed. Deactivation occurs for picklist values of both standard and custom fields.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d558612e254">Field Name</th>

              <th class="featureTableHeader  " id="d558612e257">Field Type</th>

              <th class="featureTableHeader  " id="d558612e260">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d558612e254" data-title="Field Name"><span class="keyword parmname" id="AllowEmail"><a name="AllowEmail"><!-- --></a>allowEmail</span></td>

              <td class="entry" headers="d558612e257" data-title="Field Type">boolean</td>

              <td class="entry" headers="d558612e260" data-title="Description">
                <span class="ph" id="AllowEmailDesc"><a name="AllowEmailDesc"><!-- --></a>Indicates whether this value lets users email a quote
                  PDF (<samp class="codeph java">true</samp>), or not (<samp class="codeph java">false</samp>). This field is only relevant for the
                  <span class="keyword parmname">Status</span> field in quotes.</span>
                This field is available in API version 18.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d558612e254" data-title="Field Name"><span class="keyword parmname" id="field_closed"><a name="field_closed"><!-- --></a>closed</span></td>

              <td class="entry" headers="d558612e257" data-title="Field Type">boolean</td>

              <td class="entry" headers="d558612e260" data-title="Description">
                <span class="ph" id="field_closed_desc"><a name="field_closed_desc"><!-- --></a>Indicates whether this value is associated with a
                  closed status (<samp class="codeph java">true</samp>), or not (<samp class="codeph java">false</samp>). This field is only relevant for the standard
                  <span class="keyword parmname">Status</span> field in cases and tasks.</span> This field is
                available in API version 16.0 and up to version 36.0. In version 37.0, this field is
                in GlobalPicklistValue.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d558612e254" data-title="Field Name"><span class="keyword parmname">controllingFieldValues</span></td>

              <td class="entry" headers="d558612e257" data-title="Field Type">string[]</td>

              <td class="entry" headers="d558612e260" data-title="Description">A list of values in the controlling field that are linked to this picklist
                value. The controlling field can be a checkbox or a picklist. This field is
                available in API version 14.0 and later. The values in the list depend on the field type:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Checkbox</samp>: <samp class="codeph nolang">checked</samp> or <samp class="codeph nolang">unchecked</samp>.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Picklist</samp>: The
                    <span class="keyword parmname">fullname</span> of the picklist value in the controlling
                    field.
                  </li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d558612e254" data-title="Field Name"><span class="keyword parmname" id="field_converted"><a name="field_converted"><!-- --></a>converted</span></td>

              <td class="entry" headers="d558612e257" data-title="Field Type">boolean</td>

              <td class="entry" headers="d558612e260" data-title="Description">
                <span class="ph" id="field_converted_desc"><a name="field_converted_desc"><!-- --></a>Indicates whether this value is associated with a
                  converted status (<samp class="codeph java">true</samp>), or not (<samp class="codeph java">false</samp>). This field is relevant for only the standard
                  <span class="keyword parmname">Lead Status</span> field in leads.</span>
                <span class="ph">Your organization can set its own guidelines for
                  determining when a lead is qualified, but typically, you want to convert a lead as
                  soon as it becomes a real opportunity that you want to forecast.</span> For more
                information, see “Convert Qualified Leads” in the Salesforce online
                help. This field is available in API version 16.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d558612e254" data-title="Field Name"><span class="keyword parmname" id="field_cssExposed"><a name="field_cssExposed"><!-- --></a>cssExposed</span></td>

              <td class="entry" headers="d558612e257" data-title="Field Type">boolean</td>

              <td class="entry" headers="d558612e260" data-title="Description">
                <span class="ph" id="field_cssExposed_desc"><a name="field_cssExposed_desc"><!-- --></a>Indicates whether this value is available in
                  your Self-Service Portal (<samp class="codeph java">true</samp>), or not
                  (<samp class="codeph java">false</samp>). This field is only relevant for the
                  standard <span class="keyword parmname">Case Reason</span> field in cases.</span>
                <p class="p">Self-Service
                  provides an online support channel for your customers - allowing them to resolve
                  their inquiries without contacting a customer service representative. For more
                  information about Self-Service, see “Setting Up Your Self-Service
                  Portal” in the Salesforce online help. </p>
                <div class="box message info">
                  <div class="inner">
                    <div class="bd">
                      <div class="media">
                        <img class="img mtm" src="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png" alt="Note">
                        <div class="mediaBd">
                          <h4 class="mbs">Note</h4>
                          <p>Starting with Spring
                            ’12, the Self-Service portal isn’t available for new Salesforce
                            orgs. Existing orgs continue to have access to the Self-Service
                            portal.</p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <p class="p">This field is available in API version 16.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d558612e254" data-title="Field Name"><span class="keyword parmname" id="field_forecastCategory"><a name="field_forecastCategory"><!-- --></a>forecastCategory</span></td>

              <td class="entry" headers="d558612e257" data-title="Field Type">ForecastCategories (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type
                string)</td>

              <td class="entry" headers="d558612e260" data-title="Description">
                <span class="ph" id="field_forecastCategory_desc"><a name="field_forecastCategory_desc"><!-- --></a>Indicates whether this value is associated
                  with a forecast category (<samp class="codeph java">true</samp>), or not
                  (<samp class="codeph java">false</samp>). This field is only relevant for the
                  standard <span class="keyword parmname">Stage</span> field in opportunities.</span>
                <ul class="ul bulletList">
                  <li class="li">Omitted</li>

                  <li class="li">Pipeline</li>

                  <li class="li">BestCase</li>

                  <li class="li">Forecast</li>

                  <li class="li">Closed</li>

                </ul>
                <p class="p">This field is available in API version 16.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d558612e254" data-title="Field Name"><span class="keyword parmname" id="field_highPriority"><a name="field_highPriority"><!-- --></a>highPriority</span></td>

              <td class="entry" headers="d558612e257" data-title="Field Type">boolean</td>

              <td class="entry" headers="d558612e260" data-title="Description">
                <span class="ph" id="field_highPriority_desc"><a name="field_highPriority_desc"><!-- --></a>Indicates whether this value is a high
                  priority item (<samp class="codeph java">true</samp>), or not (<samp class="codeph java">false</samp>). This field is only relevant for the standard
                  <span class="keyword parmname">Priority</span> field in tasks.</span> For more information about
                tasks, see “Start Using Tasks” in the Salesforce online help. This
                field is available in API version 16.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d558612e254" data-title="Field Name"><span class="keyword parmname" id="field_probability"><a name="field_probability"><!-- --></a>probability</span></td>

              <td class="entry" headers="d558612e257" data-title="Field Type">int</td>

              <td class="entry" headers="d558612e260" data-title="Description">
                <span class="ph" id="field_probability_desc"><a name="field_probability_desc"><!-- --></a>Indicates whether this value is a probability
                  percentage (<samp class="codeph java">true</samp>), or not (<samp class="codeph java">false</samp>). This field is only relevant for the standard
                  <span class="keyword parmname">Stage</span> field in opportunities.</span> This field is available
                in API version 16.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d558612e254" data-title="Field Name"><span class="keyword parmname" id="field_reverseRole"><a name="field_reverseRole"><!-- --></a>reverseRole</span></td>

              <td class="entry" headers="d558612e257" data-title="Field Type">string</td>

              <td class="entry" headers="d558612e260" data-title="Description">
                <span class="ph" id="field_reverseRole_desc"><a name="field_reverseRole_desc"><!-- --></a>A picklist value corresponding to a reverse
                  role name for a partner. If the role is “subcontractor”, then the
                  reverse role might be “general contractor”. Assigning a partner role
                  to an account in Salesforce creates a reverse partner relationship so that both
                  accounts list the other as a partner. This field is only relevant for partner
                  roles.</span>
                <p class="p">For more information, see “Partner Fields” in the
                  Salesforce online help.</p>
                This field is available in API version 18.0 and
                later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d558612e254" data-title="Field Name"><span class="keyword parmname" id="field_reviewed"><a name="field_reviewed"><!-- --></a>reviewed</span></td>

              <td class="entry" headers="d558612e257" data-title="Field Type">boolean</td>

              <td class="entry" headers="d558612e260" data-title="Description">
                <span class="ph" id="field_reviewed_desc"><a name="field_reviewed_desc"><!-- --></a>Indicates whether this value is associated with a
                  reviewed status (<samp class="codeph java">true</samp>), or not (<samp class="codeph java">false</samp>). This field is only relevant for the standard
                  <span class="keyword parmname">Status</span> field in solutions.</span> For more information about
                opportunities, see “Creating Solutions” in the Salesforce online help.
                This field is available in API version 16.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d558612e254" data-title="Field Name"><span class="keyword parmname" id="field_won"><a name="field_won"><!-- --></a>won</span></td>

              <td class="entry" headers="d558612e257" data-title="Field Type">boolean</td>

              <td class="entry" headers="d558612e260" data-title="Description">
                <span class="ph" id="field_won_desc"><a name="field_won_desc"><!-- --></a>Indicates whether this value is associated with a
                  closed or won status (<samp class="codeph java">true</samp>), or not (<samp class="codeph java">false</samp>). This field is only relevant for the standard
                  <span class="keyword parmname">Stage</span> field in opportunities.</span> This field is available
                in API version 16.0 and later.
              </td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

For an example of GlobalPicklistValue components with a package.xml that references them, see [GlobalPicklist](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_globalpicklist.htm#meta_globalpicklist "Represents a global picklist, or the set of shared picklist values that custom picklist fields can use. In contrast, the custom picklist fields that are based on a global picklist are of type CustomValue. This type extends the Metadata metadata type and inherits its fullName field.").

## Wildcard Support in the Manifest File

This metadata type doesn’t support the wildcard character \* (asterisk) in the package.xml manifest file. For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).