---
schema_version: "1"
id: 85bd2ea53f2b04d465ce3ddaace2d38473573164bff09fc72a2332d16471a881
title: FieldDefinition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_fielddefinition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_fielddefinition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7b4f1f2145d412ce7cf96d8c0dd8d635902e49ebfa6c7ce4a7f00e726164d63d
description: Represents a standard or custom field, providing row-based access to field metadata. Contrast FieldDefinition with EntityParticle, which represents each element of a field that can be presented in a user interface. FieldDefinition has parity with metadata type Field.
---
# FieldDefinition

Represents a standard or custom field, providing row-based access to field metadata. Contrast FieldDefinition with EntityParticle, which represents each element of a field that can be presented in a user interface. FieldDefinition has parity with metadata type Field.

![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.

This object is available in API version 32.0 and later.

## Supported SOAP Calls

query()

describeSObject()

## Supported REST HTTP Methods

GET

## Limitations

[SOQL Limitations](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/reference_objects_soql_limits.htm "Some Tooling API objects have SOQL limitations. These limitations apply to any Metadata Catalog query, which applies to all Custom Metadata Types and Metadata Catalog entities, not only the ones explicitly listed.")

[SOSL Limitations](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/reference_objects_sosl_limits.htm "Two Tooling API objects, EntityDefinition and FieldDefinition, have some SOSL limitations. ExternalString and MetadataComponentDependency (Beta) don’t support SOSL searches.")

## Fields

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


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

              <th class="featureTableHeader  " id="d149757e115">Details</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">BusinessOwnerId</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">reference</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">
                    <p class="p">Indicates the person or group associated with this
                      field. The business owner understands the importance
                      of the field’s data to your company and might be
                      responsible for determining the minimum security
                      classification. This field is available in API
                      version 45.0 and later.</p>

                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">BusinessStatus</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">picklist</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">
                    <div class="p">Indicates whether the field is in use. Valid values include:<ul class="ul bulletList">
                        <li class="li"><samp class="codeph nolang">Active</samp></li>

                        <li class="li"><samp class="codeph nolang">DeprecateCandidate</samp></li>

                        <li class="li"><samp class="codeph nolang">Hidden</samp></li>

                      </ul>
                    </div>

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

                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">CompactLayoutItems</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">
                    <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_queryresult.htm" title="Represents the results of a query. For example, if you query on the object EntityDefinition, all the layouts for that entity are returned as an array of QueryResult objects in the Layouts field. Available in Tooling API version 34.0 and later.">QueryResult</a>
                  </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The CompactLayoutItemInfo records associated with this
                    field definition. Available in Tooling API starting
                    version 34.0. Because this field represents a
                    relationship, use only in subqueries.</dd>

                  <dd class="dd">Example
                    subquery:<div class="codeSection">
                      <pre class="codeblock ">SELECT Id, QualifiedApiName, (SELECT DurableId, SortOrder FROM CompactLayoutItems) FROM
      FieldDefinition WHERE EntityDefinition.QualifiedApiName = 'Account' AND QualifiedApiName = 'Name'</pre>
                    </div>
                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ComplianceGroup</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">multipicklist</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Nillable</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">
                    <div class="p">The compliance acts, definitions, or regulations
                      related to the field’s data. Valid values include:<ul class="ul bulletList">
                        <li class="li">
                          <samp class="codeph nolang">CCPA</samp>—California Consumer Privacy
                          Act
                        </li>

                        <li class="li">
                          <samp class="codeph nolang">COPPA</samp>—Children's Online Privacy
                          Protection Act
                        </li>

                        <li class="li">
                          <samp class="codeph nolang">GDPR</samp>—General Data Protection
                          Regulation
                        </li>

                        <li class="li">
                          <samp class="codeph nolang">HIPAA</samp>—Health Insurance
                          Portability and Accountability Act
                        </li>

                        <li class="li">
                          <samp class="codeph nolang">PCI</samp>—Payment Card Industry
                        </li>

                        <li class="li">
                          <samp class="codeph nolang">PersonalInfo</samp>—Personal
                          information. For use with the Enhanced Personal
                          Information Management feature. Only available if
                          Enhanced Personal Information Management and
                          Digital Experiences are enabled.
                        </li>

                        <li class="li">
                          <samp class="codeph nolang">PII</samp>—Personally Identifiable
                          Information
                        </li>

                      </ul>
                    </div>

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

                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ControlledFields</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_queryresult.htm" title="Represents the results of a query. For example, if you query on the object EntityDefinition, all the layouts for that entity are returned as an array of QueryResult objects in the Layouts field. Available in Tooling API version 34.0 and later.">QueryResult</a></dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The controlled fields in a dependent picklist. Use in
                    subqueries to reduce the number of queries. Available in
                    Tooling API starting version 34.0. Because this field
                    represents a relationship, use only in subqueries.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ControllingFieldDefinition</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd"><a class="xref" href="#tooling_api_objects_fielddefinition" title="Represents a standard or custom field, providing row-based access to field metadata. Contrast FieldDefinition with EntityParticle, which represents each element of a field that can be presented in a user interface. FieldDefinition has parity with metadata type Field.">FieldDefinition</a></dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The field definition of the controlling field if this
                    field is a dependent picklist. A dependent picklist
                    works with a controlling picklist or checkbox to filter
                    the available options. The value chosen in the
                    controlling field affects the values available in the
                    dependent field. This field is available in API version
                    14.0 and later. Available in Tooling API starting
                    version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ControllingFieldDefinitionId</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The ID of the
                    <span class="keyword parmname">ControllingFieldDefinition</span> for
                    this field. Available in Tooling API starting version
                    34.0.
                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">DataType</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Data type of the field, for example <samp class="codeph nolang">Text(40)</samp> or <samp class="codeph nolang">Date/Time</samp>. The values
                    are defined as they are in the user interface, not the
                    corresponding API data type names. Available in Tooling
                    API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">Description</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">A description of the field definition.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">DeveloperName</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The unique name of the object in the API. This name can
                    contain only underscores and alphanumeric characters,
                    and must be unique in your org. It must begin with a
                    letter, not include spaces, not end with an underscore,
                    and not contain two consecutive underscores. In managed
                    packages, this field prevents naming conflicts on
                    package installations. With this field, a developer can
                    change the object’s name in a managed package and the
                    changes are reflected in a subscriber’s org.
                    Label is <strong class="ph uicontrol">Record Type Name</strong>.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">DurableId</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Unique identifier for the field. Always retrieve this
                    value before using it, because the value isn’t
                    guaranteed to stay the same from one release to the
                    next. To simplify queries, use this field.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">EntityDefinition</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_entitydefinition.htm" title="Provides row-based access to metadata about standard and custom objects.">EntityDefinition</a></dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">A relationship lookup to the object type that contains
                    this field. For example, if the field is defined on an
                    account, the lookup is to <samp class="codeph nolang">Account</samp>. You can’t interact directly with
                    this field. Instead, use it in
                    queries.<div class="codeSection">
                      <pre class="codeblock "> SELECT Entity​Definition.​Label FROM
      Field​Definition WHERE Entity​Definition.​QualifiedApi​Name='Lead'</pre>
                    </div>
                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">EntityDefinitionId</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The durable ID for the object defined in the
                    <span class="keyword parmname">EntityDefinition</span> field.
                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ExtraTypeInfo</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Represents further definition of a type. Available in
                    Tooling API starting version 34.0.<ul class="ul bulletList">
                      <li class="li">For type textarea:<ul class="ul bulletList">
                          <li class="li"><samp class="codeph nolang">plaintextarea</samp></li>

                          <li class="li"><samp class="codeph nolang">richtextarea</samp></li>

                        </ul>
                      </li>

                      <li class="li">For type URL, <samp class="codeph nolang">image</samp>
                      </li>

                      <li class="li">For type reference,<ul class="ul bulletList">
                          <li class="li"><samp class="codeph nolang">externallookup</samp></li>

                          <li class="li"><samp class="codeph nolang">indirectlookup</samp></li>

                          <li class="li"><samp class="codeph nolang">externallookup</samp></li>

                        </ul>
                      </li>

                      <li class="li">For Account, <ul class="ul bulletList">
                          <li class="li"><samp class="codeph nolang">switchablepersonname</samp></li>

                          <li class="li"><samp class="codeph nolang">personname</samp></li>

                        </ul>

                      </li>

                    </ul>
                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">FullName</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Create, Group, Nillable</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The full name of the associated metadata object in
                    Metadata API.</dd>

                  <dd class="dd">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.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsApiFilterable</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    can be specified in the
                    <samp class="ph systemoutput">WHERE</samp> clause of a query
                    string.
                  </dd>

                  <dd class="dd">Available in Tooling API starting version 34.0.</dd>

                  <dd class="dd">You can't sort or filter compound fields. This field’s
                    value is always <samp class="codeph nolang">false</samp> for compound fields.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsApiGroupable</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    can be included in the <samp class="ph systemoutput">GROUP
                      BY</samp> clause of a SOQL query. Available
                    in Tooling API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsApiSortable</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, a query
                    can sort on this field. </dd>

                  <dd class="dd">Available in Tooling API starting version 34.0.</dd>

                  <dd class="dd">You can't sort or filter compound fields. This field’s
                    value is always <samp class="codeph nolang">false</samp> for compound fields.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsCalculated</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the
                    field’s value is calculated. Available in Tooling API
                    starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsCompactLayoutable</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    can be included in a compact layout. Available in
                    Tooling API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsCompound</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    is a compound of other fields. The default value is
                    <samp class="codeph nolang">false</samp>.
                    Available in Tooling API starting version 38.0.
                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsEverApiAccessible</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    is describable in the API. The default value is <samp class="codeph nolang">false</samp>. Available in
                    Tooling API starting version 49.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsFieldHistoryTracked</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the
                    field’s history can be tracked. Available in Tooling API
                    starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsFlsEnabled</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, you can
                    set field-level security on this field. Available in
                    Tooling API starting version 35.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsHighScaleNumber</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Indicates whether the field stores numbers to eight
                    decimal places regardless of what’s specified in the
                    field details (<samp class="codeph java">true</samp>)
                    or not (<samp class="codeph java">false</samp>). Used
                    to handle currencies for products that cost fractions of
                    a cent, in large quantities. If high-scale unit pricing
                    isn’t enabled in your organization, this field isn’t
                    returned. Available in Tooling API starting version
                    34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsHtmlFormatted</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    contains HTML. Available in Tooling API starting version
                    34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsIndexed</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    is indexed in the database. Available in Tooling API
                    version 35.0 and later.</dd>

                  <dd class="dd">Internal (database) indexing is different from indexing
                    for search. </dd>

                  <dd class="dd">We recommend targeting indexed fields for better
                    response times in SOQL queries, reports, and list
                    views.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsListFilterable</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    can be filtered for a related list. Available in Tooling
                    API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsListSortable</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    can be sorted for a related list. Available in Tooling
                    API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsListVisible</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    can be included in a related list. Available in Tooling
                    API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsNameField</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    is a name field. Available in Tooling API starting
                    version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsNillable</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    can be left out of queries on the object. Available in
                    Tooling API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsPolymorphicForeignKey</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Indicates whether the foreign key includes multiple
                    object types (<samp class="codeph nolang">true</samp>)
                    or not (<samp class="codeph nolang">false</samp>).
                    Available in Tooling API version 41.0 and later.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsSearchPrefilterable</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Indicates whether a foreign key can be included in
                    prefiltering (<samp class="codeph nolang">true</samp>)
                    or not (<samp class="codeph nolang">false</samp>) when
                    used in a SOSL <samp class="ph systemoutput">WHERE</samp>
                    clause. <dfn class="term">Prefiltering</dfn> means to filter by a
                    specific field value before executing the full search
                    query. Available in Tooling API version 40.0 and later.
                    Prefiltering is supported only in <samp class="codeph nolang">WHERE</samp> clauses with the
                    equals (<samp class="codeph nolang">=</samp>)
                    operator.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">IsWorkflowFilterable</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">boolean </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Defaulted on create, Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">If <samp class="codeph nolang">true</samp>, the field
                    can be filtered for a workflow. Available in Tooling API
                    starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">Label</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The label that corresponds to the field in the user
                    interface. If the label has been translated, the value
                    returned is in the user’s language.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">Length</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">int</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The maximum number of bytes available to store the value
                    in this field. Available in Tooling API starting version
                    34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">LookupFilters</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_queryresult.htm" title="Represents the results of a query. For example, if you query on the object EntityDefinition, all the layouts for that entity are returned as an array of QueryResult objects in the Layouts field. Available in Tooling API version 34.0 and later.">QueryResult</a></dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The lookup filters associated with the field. Because
                    this field represents a relationship, use only in
                    subqueries.</dd>

                  <dd class="dd">Example
                    subquery:<div class="codeSection">
                      <pre class="codeblock ">SELECT DurableId, QualifiedApi​Name, (SELECT Id, SourceObject,​
      SourceField​Definition.​Label, IsOptional, Active, Developer​Name, LastModified​By.Name,
      LastModified​Date FROM Lookup​Filters) FROM Entity​Definition WHERE QualifiedApi​Name =
      'User'"</pre>
                    </div>
                  </dd>


                </dl>

                <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_tooling.meta/api_tooling/images/icon_note.png" alt="Note">
                        <div class="mediaBd">
                          <h4 class="mbs">Note</h4>
                          <p>LookupFilter isn’t supported on the article type
                            object.</p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">MasterLabel</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Primary label for this object. This display value is the
                    internal label that isn’t translated. Limit: 40
                    characters.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">Metadata</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">CustomField</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Create, Nillable, Update</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Compact layout metadata, from the <samp class="codeph nolang">mns</samp> namespace.</dd>

                  <dd class="dd">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.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">NamespacePrefix</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">
                    <span class="ph" id="namespace_prefix_desc"><a name="namespace_prefix_desc"><!-- --></a>The namespace prefix
                      associated with this object. Each Developer Edition
                      org that creates a managed package has a unique
                      namespace prefix. Limit: 15 characters. You can
                      refer to a component in a managed package by using
                      the <samp class="codeph nolang"><var class="keyword varname">namespacePrefix</var>__<var class="keyword varname">componentName</var></samp>
                      notation.</span>
                    <p class="p"><span class="ph" id="namespace_prefix_values_intro"><a name="namespace_prefix_values_intro"><!-- --></a>The namespace
                        prefix can have one of the following
                        values:</span></p>
                    <a name="namespace_prefix_values"><!-- --></a>
                    <ul class="ul bulletList" id="namespace_prefix_values">
                      <li class="li">In a Developer Edition org, the namespace prefix
                        is set to the namespace prefix of the org for all
                        objects that support it. There’s an exception if
                        an object is in an installed managed package. In
                        that case, the object has the namespace prefix of
                        the installed managed package. This field’s value
                        is the namespace prefix of the Developer Edition
                        org of the package developer.</li>

                      <li class="li">In an org other than a Developer Edition org,
                        <span class="keyword parmname">NamespacePrefix</span> is only set
                        for objects that are part of an installed managed
                        package. There’s no namespace prefix for all other
                        objects.
                      </li>

                    </ul>
                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">Particles</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_queryresult.htm" title="Represents the results of a query. For example, if you query on the object EntityDefinition, all the layouts for that entity are returned as an array of QueryResult objects in the Layouts field. Available in Tooling API version 34.0 and later.">QueryResult</a></dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The EntityParticles associated with this field.
                    Available in Tooling API starting version 34.0. Because
                    this field represents a relationship, use only in
                    subqueries.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">Precision</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">int</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The maximum number of digits allowed for this field.
                    Available in Tooling API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">Publisher</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_publisher.htm" title="Represents the publisher of objects and fields. For example, Salesforce is the publisher for standard objects, the organization is the publisher for custom objects, and the package is the publisher for installed packages. Available in Tooling API version 34.0 and later.">Publisher</a></dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The publisher of this field, for example Salesforce, a
                    user, or a package name. Available in Tooling API
                    starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">PublisherId</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">ID of the publisher associated with this field.
                    Available in Tooling API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">QualifiedApiName</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">A unique external name for the field.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ReferenceTargetField</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Available only for indirect lookup relationship fields
                    on external objects. Specifies the field on the parent
                    object to match against this indirect lookup
                    relationship field, whose values come from an external
                    data source. The specified custom field on the parent
                    object must have both <samp class="codeph nolang">externalId</samp> and <samp class="codeph nolang">unique</samp> set to
                    <samp class="ph systemoutput">true</samp>. Available in
                    Tooling API starting version 34.0.
                  </dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ReferenceTo</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd"><a class="xref" href="#RelationshipReferenceTo">RelationshipReferenceTo</a></dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The array of values in this field represents the
                    possible object types of the referenced objects. For
                    example, if a FieldDefinition represents a field on
                    Event.WhoId, the values in this field are <samp class="codeph nolang">Contact</samp>, <samp class="codeph nolang">Lead</samp>, and custom
                    objects with a relationship to Events. Available in
                    Tooling API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">RelationshipDomains</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_queryresult.htm" title="Represents the results of a query. For example, if you query on the object EntityDefinition, all the layouts for that entity are returned as an array of QueryResult objects in the Layouts field. Available in Tooling API version 34.0 and later.">QueryResult</a></dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Metadata about the relationships this field has with
                    other objects. Available in Tooling API starting version
                    34.0. Because this field represents a relationship, use
                    only in subqueries.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">RelationshipName</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The value for one-to-many relationships. For example, in
                    the object MyObject with a relationship to YourObject,
                    the relationship name is typically YourObjects.
                    Available in Tooling API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">RunningUserFieldAccessId</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd"></dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Reserved for internal use. Available in Tooling API
                    starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">Scale</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">int</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The number of digits to the right of the decimal in an
                    integer. For example, 3.00 has a scale of 2. Available
                    in Tooling API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">SecurityClassification</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">picklist</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Nillable, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">Indicates the sensitivity of the data contained in this
                    field. Valid values include:<ul class="ul bulletList">
                      <li class="li"><samp class="codeph nolang">Public</samp></li>

                      <li class="li"><samp class="codeph nolang">Internal</samp></li>

                      <li class="li"><samp class="codeph nolang">Confidential</samp></li>

                      <li class="li"><samp class="codeph nolang">Restricted</samp></li>

                      <li class="li"><samp class="codeph nolang">MissionCritical</samp></li>

                    </ul>
                    This field is available in API version 45.0 and
                    later.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ServiceDataType</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">
                    <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_datatype.htm" title="Represents the datatype of a field. Use this object with EntityDefinition, EntityParticle, or FieldDefinition to simplify queries. Available in Tooling API version 34.0 and later.">DataType</a>
                  </dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The service datatype for this field. Available in
                    Tooling API starting version 34.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ServiceDataTypeId</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The ID of the ServiceDataType. Available in Tooling API
                    version 34.0. Don’t use, provided for backward
                    compatibility only.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ServiceDataTypes</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_queryresult.htm" title="Represents the results of a query. For example, if you query on the object EntityDefinition, all the layouts for that entity are returned as an array of QueryResult objects in the Layouts field. Available in Tooling API version 34.0 and later.">QueryResult</a></dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The ServiceDataTypes associated with this field.
                    Available in Tooling API starting version 34.0. Because
                    this field represents a relationship, use only in
                    subqueries.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ValueType</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_datatype.htm" title="Represents the datatype of a field. Use this object with EntityDefinition, EntityParticle, or FieldDefinition to simplify queries. Available in Tooling API version 34.0 and later.">DataType</a></dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The data type of the field. Available in Tooling API
                    version
                    35.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">ValueTypeId</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd">string</dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The ID of the ValueType. Available in Tooling API
                    version 35.0.</dd>


                </dl>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e112" data-title="Field"><span class="keyword parmname">WorkflowFieldUpdates</span></td>

              <td class="entry" headers="d149757e115" data-title="Details">
                <dl class="dl detailList">

                  <dt class="dt dlterm">Type</dt>

                  <dd class="dd"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_queryresult.htm" title="Represents the results of a query. For example, if you query on the object EntityDefinition, all the layouts for that entity are returned as an array of QueryResult objects in the Layouts field. Available in Tooling API version 34.0 and later.">QueryResult</a></dd>



                  <dt class="dt dlterm">Properties</dt>

                  <dd class="dd">Filter, Group, Sort</dd>



                  <dt class="dt dlterm">Description</dt>

                  <dd class="dd">The workflow field updates for this field. Field updates
                    allow you to automatically update a field value to one
                    that you specify when a workflow rule is triggered.
                    Available in Tooling API starting version 34.0. Because
                    this field represents a relationship, use only in
                    subqueries.</dd>


                </dl>

              </td>

            </tr>

          </tbody>

        </table>

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

#### Note

FieldDefinition fields are exposed in SOAP API version 45.0 and later. You can use Tooling API to query for FieldDefinition fields in guest user mode in API version 44.0 and earlier. In API version 45.0 and later, use SOAP API to get this data in guest user mode. FieldDefinition is still exposed in Tooling API to User Profiles with the ViewSetup permission.

## Usage

When querying or searching the FieldDefinition object, you must filter using the following syntax: WHERE EntityDefinition.QualifiedApiName ='\[ObjectAPIName\]'.

Example Query:

SELECT DurableId, QualifiedApiName, Label, DataType, ValueTypeId, PublisherId, Length, Precision, Scale, EntityDefinitionId, RelationshipName
    FROM FieldDefinition
    WHERE EntityDefinition.QualifiedApiName = 'Customer\_Sat\_Survey\_\_c' ORDER BY Label ASC NULLS FIRST

Example Query: Find Parent Object Types

Some fields can have more than one type of object in a relationship (polymorphic). For example, Task and Event can have relationships with Contact or Lead.

Use this query to retrieve a list of objects that can have a relationship with the FieldDefinition.

SELECT QualifiedApiName, RelationshipName, ReferenceTo, ReferenceTargetField 
FROM FieldDefinition
WHERE EntityDefinition.QualifiedApiName = 'Event' AND QualifiedApiName = 'WhoId'

Example Query: Find the Datatypes for Account Fields

SELECT QualifiedApiName, (Select DataType From Particles)
FROM FieldDefinition
WHERE EntityDefinition.QualifiedApiName ='Account'

## CustomField Metadata

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



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

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

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

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname">caseSensitive</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">Indicates whether the field is case sensitive (<samp class="codeph java">true</samp>) or not (<samp class="codeph java">false</samp>).<p class="p">For indirect lookup
                  relationship fields on external objects, this attribute affects
                  how this custom field’s values are matched against the values of
                  <span class="keyword parmname">referenceTargetField</span>.
                </p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_defaultValue_name"><a name="field_defaultValue_name"><!-- --></a>defaultValue</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="field_defaultValue_desc"><a name="field_defaultValue_desc"><!-- --></a>If specified, represents the
                  default value of the field.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="delete_constraint"><a name="delete_constraint"><!-- --></a>deleteConstraint</span></td>

              <td class="entry" headers="d149757e2988" data-title="Field Type">DeleteConstraint is an enumeration of strings</td>

              <td class="entry" headers="d149757e2991" data-title="Description">
                <span class="ph" id="del_constraint_def"><a name="del_constraint_def"><!-- --></a>Provides deletion options for lookup
                  relationships. Valid values are:</span>
                <div class="p" id="del_constraint_options">
                  <a name="del_constraint_options"><!-- --></a>
                  <dl class="dl detailList">

                    <dt class="dt dlterm"><samp class="codeph nolang">SetNull</samp></dt>

                    <dd class="dd">Default value.</dd>

                    <dd class="dd">If the lookup record is deleted, the lookup field is
                      cleared.</dd>



                    <dt class="dt dlterm"><samp class="codeph nolang">Restrict</samp></dt>

                    <dd class="dd">If the record is in a lookup relationship, prevents
                      it from being deleted.</dd>



                    <dt class="dt dlterm"><samp class="codeph nolang">Cascade</samp></dt>

                    <dd class="dd">Deletes the lookup record and associated lookup
                      fields.</dd>


                  </dl>

                </div>
                <p class="p" id="field_deleteConstraint_moreinfo"><a name="field_deleteConstraint_moreinfo"><!-- --></a>For more information on
                  lookup relationships, see “Object Relationships”
                  in Salesforce Help.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="description_name"><a name="description_name"><!-- --></a>description</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="description_desc"><a name="description_desc"><!-- --></a>Description of the
                  field.</span></td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description">The display format.</td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="isDisplayLocInDecimal_name"><a name="isDisplayLocInDecimal_name"><!-- --></a>displayLocationInDecimal</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="isDisplayLocInDec_desc"><a name="isDisplayLocInDec_desc"><!-- --></a>Indicates how the value of a
                  Geolocation custom field appears in the user interface. If
                  <samp class="codeph apex_code"><span class="keyword">true</span></samp>, the
                  geolocation appears in decimal notation. If <samp class="codeph apex_code"><span class="keyword">false</span></samp>, the geolocation
                  appears as degrees, minutes, and seconds.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_externalDeveloperName"><a name="field_externalDeveloperName"><!-- --></a>externalDeveloperName</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">Available only for external objects. Name of the table column on
                the external data source that maps to this custom field in
                Salesforce. Corresponds to <span class="keyword parmname">External Column Name</span>
                in the user interface. This field is available in API version 32.0
                and later.</td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="field_externalId_desc"><a name="field_externalId_desc"><!-- --></a>Indicates whether the field is an
                  external ID field (<samp class="codeph java">true</samp>) or
                  not (<samp class="codeph java">false</samp>).</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_formula_name"><a name="field_formula_name"><!-- --></a>formula</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="field_formula_desc"><a name="field_formula_desc"><!-- --></a>If specified, represents a formula on
                  the field.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_formulaTreatBlankAs_name"><a name="field_formulaTreatBlankAs_name"><!-- --></a>formulaTreatBlankAs</span></td>

              <td class="entry" headers="d149757e2988" data-title="Field Type">TreatBlanksAs</td>

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="field_formulaTreatBlankAs_desc"><a name="field_formulaTreatBlankAs_desc"><!-- --></a>Indicates how to treat
                  blanks in a formula. Valid values are <samp class="codeph nolang">BlankAsBlank</samp> or <samp class="codeph nolang">BlankAsZero</samp>.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_fullName"><a name="field_fullName"><!-- --></a>fullName</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">Required. The internal name of the object. White spaces and
                special characters are escaped for validity. The name must:<ul class="ul bulletList">
                  <li class="li">Contain characters, letters, or the underscore (_)
                    character</li>

                  <li class="li">Must start with a letter</li>

                  <li class="li">Can’t end with an underscore</li>

                  <li class="li">Can't contain two consecutive underscore characters</li>

                </ul>
              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description">Indicates if the field is indexed. If this field is unique or the
                <span class="keyword parmname">externalId</span> is set to true, the
                <span class="keyword parmname">isIndexed</span> value is set to true. This field
                has been deprecated as of version 14.0 and is only provided for
                backward compatibility.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="inlinehelptext_name"><a name="inlinehelptext_name"><!-- --></a>inlineHelpText</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="inlinehelptext_desc"><a name="inlinehelptext_desc"><!-- --></a>Represents the content of
                  field-level help. For more information, see “Define
                  Field-Level Help” in Salesforce Help.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_isFilteringDisabled"><a name="field_isFilteringDisabled"><!-- --></a>isFilteringDisabled</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">
                <span class="ph" id="field_isFilteringDisabled_desc"><a name="field_isFilteringDisabled_desc"><!-- --></a>Available only for
                  external objects. Indicates whether the custom field is
                  available in filters.</span> This field is available in API
                version 32.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_isNameField"><a name="field_isNameField"><!-- --></a>isNameField</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">
                <span class="ph" id="field_isNameField_desc"><a name="field_isNameField_desc"><!-- --></a>Available only for external
                  object fields of type text. For each external object, you can
                  specify one field as the name field.</span> If you set this
                field's value to <samp class="codeph java">true</samp>, make sure
                that the external table column identified by
                <span class="keyword parmname">externalDeveloperName</span> contains name values.
                This field is available in API version 32.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_isSortingDisabled"><a name="field_isSortingDisabled"><!-- --></a>isSortingDisabled</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">
                <span class="ph" id="field_isSortingDisabled_desc"><a name="field_isSortingDisabled_desc"><!-- --></a>Available only for external
                  objects. Indicates whether the custom field is sortable.</span>
                This field is available in API version 32.0 and later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="isUpdateableMasterDetail_name"><a name="isUpdateableMasterDetail_name"><!-- --></a>reparentableMasterDetail</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">
                <span class="ph" id="isUpdateableMasterDetail_desc"><a name="isUpdateableMasterDetail_desc"><!-- --></a>Indicates whether the
                  child records in a master-detail relationship on a custom object
                  can be reparented to different parent records. The default value
                  is <samp class="codeph java">false</samp>.</span>
                <p class="p">This field
                  is available in API version 25.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_label"><a name="field_label"><!-- --></a>label</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">
                <span class="ph" id="field_label_desc"><a name="field_label_desc"><!-- --></a>Label for the field.</span> You can’t
                update the label for standard picklist fields, such as the
                <span class="keyword parmname">Industry</span> field for accounts.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="length_name"><a name="length_name"><!-- --></a>length</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="length_desc"><a name="length_desc"><!-- --></a>Length of the field.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_lookupFilter"><a name="field_lookupFilter"><!-- --></a>lookupFilter</span></td>

              <td class="entry" headers="d149757e2988" data-title="Field Type">LookupFilter</td>

              <td class="entry" headers="d149757e2991" data-title="Description">The Lookup filter definition for the custom field.<p class="p">Available in
                  API version 30.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="mask_kar"><a name="mask_kar"><!-- --></a>maskChar</span></td>

              <td class="entry" headers="d149757e2988" data-title="Field Type">EncryptedFieldMaskChar</td>

              <td class="entry" headers="d149757e2991" data-title="Description">For encrypted fields, specifies the character to be used as a
                mask. Valid values:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">asterisk</samp></li>

                  <li class="li"><samp class="codeph nolang">X</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="masktype"><a name="masktype"><!-- --></a>maskType</span></td>

              <td class="entry" headers="d149757e2988" data-title="Field Type">EncryptedFieldMaskType</td>

              <td class="entry" headers="d149757e2991" data-title="Description">For encrypted text fields, specifies the format of the masked and
                unmasked characters in the field. Valid values: <dl class="dl detailList">

                  <dt class="dt dlterm"><samp class="codeph nolang">all</samp></dt>

                  <dd class="dd">All characters in the field are hidden. This option is
                    equivalent to the <span class="keyword parmname">Mask All
                      Characters</span>.</dd>



                  <dt class="dt dlterm"><samp class="codeph nolang">creditCard</samp></dt>

                  <dd class="dd">The first 12 characters are hidden, the last four are
                    displayed. This option is equivalent to the
                    <span class="keyword parmname">Credit Card Number</span> option.
                  </dd>



                  <dt class="dt dlterm"><samp class="codeph nolang">ssn</samp></dt>

                  <dd class="dd">The first five characters are hidden, the last four are
                    displayed. This option is equivalent to the
                    <span class="keyword parmname">Social Security Number</span>
                    option.
                  </dd>



                  <dt class="dt dlterm"><samp class="codeph nolang">lastFour</samp></dt>

                  <dd class="dd">All characters are hidden, except the last four are
                    displayed. This option is equivalent to the
                    <span class="keyword parmname">Last Four Characters Clear</span>
                    option.
                  </dd>



                  <dt class="dt dlterm"><samp class="codeph nolang">sin</samp></dt>

                  <dd class="dd">All characters are hidden, except the last four are
                    displayed. This option is equivalent to the
                    <span class="keyword parmname">Social Insurance Number</span>
                    option.
                  </dd>



                  <dt class="dt dlterm"><samp class="codeph nolang">nino</samp></dt>

                  <dd class="dd">All characters are hidden. If the field contains nine
                    characters, Salesforce automatically inserts spaces
                    after each pair of characters. This option is equivalent
                    to the <span class="keyword parmname">National Insurance Number</span>
                    option.</dd>


                </dl>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="picklist_field"><a name="picklist_field"><!-- --></a>picklist</span></td>

              <td class="entry" headers="d149757e2988" data-title="Field Type"><a class="xref" href="#picklist_metadata">Picklist</a></td>

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="picklist_field_desc"><a name="picklist_field_desc"><!-- --></a>If specified, the field is a
                  picklist, and this field enumerates the picklist values and
                  labels.</span></td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description">Indicates whether existing rows are populated (<samp class="codeph java">true</samp>) or not (<samp class="codeph java">false</samp>).</td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="field_precision_desc"><a name="field_precision_desc"><!-- --></a>The precision for number values.
                  Precision is the number of digits in a number. For example, the
                  precision value for the number 256.99 is 5.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_referenceTargetField"><a name="field_referenceTargetField"><!-- --></a>referenceTargetField</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">Available only for indirect lookup relationship fields on
                external objects. Specifies the custom field on the parent object to
                match against this indirect lookup relationship field, whose values
                come from an external data source. The specified custom field on the
                parent object must have both <span class="keyword parmname">externalId</span> and
                <span class="keyword parmname">unique</span> set to <samp class="codeph java">true</samp>. This field is available in API version 32.0 and
                later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_referenceTo_name"><a name="field_referenceTo_name"><!-- --></a>referenceTo</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="field_referenceTo_desc"><a name="field_referenceTo_desc"><!-- --></a>If specified, indicates a
                  reference this field has to another object.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_relationshipLabel_name"><a name="field_relationshipLabel_name"><!-- --></a>relationshipLabel</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="field_relationshipLabel_desc"><a name="field_relationshipLabel_desc"><!-- --></a>Label for the
                  relationship.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_relationshipName_name"><a name="field_relationshipName_name"><!-- --></a>relationshipName</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="field_relationshipName_desc"><a name="field_relationshipName_desc"><!-- --></a>If specified, indicates the
                  value for one-to-many relationships. For example, in the object
                  MyObject that had a relationship to YourObject, the relationship
                  name YourObjects makes the relationship type
                  obvious.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="relationshiporder_name"><a name="relationshiporder_name"><!-- --></a>relationshipOrder</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">
                <span class="ph" id="relationshiporder_desc1"><a name="relationshiporder_desc1"><!-- --></a>This field is valid for all
                  master-detail relationships, but the value is only non-zero for
                  junction objects. A junction object has two master-detail
                  relationships, and is analogous to an association table in a
                  many-to-many relationship. Junction objects must define one
                  parent object as primary (0), the other as secondary (1). The
                  definition of primary or secondary affects delete behavior and
                  inheritance of look and feel, and record ownership for junction
                  objects. For more information, see Salesforce Help. </span>
                <p class="p" id="relationshiporder_desc2"><a name="relationshiporder_desc2"><!-- --></a><samp class="codeph nolang">0</samp> or <samp class="codeph nolang">1</samp> are
                  the only valid values, and <samp class="codeph nolang">0</samp> is always the value for objects that aren’t
                  junction objects.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_required_name"><a name="field_required_name"><!-- --></a>required</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="field_required_desc"><a name="field_required_desc"><!-- --></a>Indicates whether the field requires
                  a value on creation (<samp class="codeph java">true</samp>) or
                  not (<samp class="codeph java">false</samp>).</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="field_scale"><a name="field_scale"><!-- --></a>scale</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="field_scale_desc"><a name="field_scale_desc"><!-- --></a>The scale for the field. Scale is the
                  number of digits to the right of the decimal point in a number.
                  For example, the number 256.99 has a scale of 2.</span></td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description">If specified, indicates the starting number for the
                field.</td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description">Set to <samp class="codeph java">true</samp> to remove markup,
                or <samp class="codeph java">false</samp> to preserve markup. Used
                when converting a rich text area to a long text area.</td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description">Represents the field on the detail row that’s being summarized.
                This field can’t be null unless the value of
                <span class="keyword parmname">SummaryOperation</span> is <samp class="codeph nolang">count</samp>.
              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description">Represents the master-detail field on the child that defines the
                relationship between the parent and the child.</td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="summaryoperation"><a name="summaryoperation"><!-- --></a>summaryOperation</span></td>

              <td class="entry" headers="d149757e2988" data-title="Field Type">SummaryOperations is an enumeration of strings</td>

              <td class="entry" headers="d149757e2991" data-title="Description">Represents the sum operation to be performed. Valid values:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph soql">Count</samp></li>

                  <li class="li"><samp class="codeph soql">Min</samp></li>

                  <li class="li"><samp class="codeph soql">Max</samp></li>

                  <li class="li"><samp class="codeph soql">Sum</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="trackfeedhistory"><a name="trackfeedhistory"><!-- --></a>trackFeedHistory</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">
                <span class="ph" id="trackfeedhistory_desc"><a name="trackfeedhistory_desc"><!-- --></a>Indicates whether the field is
                  enabled for feed tracking (<samp class="codeph java">true</samp>) or not (<samp class="codeph java">false</samp>).</span>
                <p class="p">This field is available in API version 18.0 and
                  later.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description">
                <span class="ph" id="field_track_hist_desc"><a name="field_track_hist_desc"><!-- --></a>Indicates whether history tracking
                  is enabled for the field (<samp class="codeph java">true</samp>) or not (<samp class="codeph java">false</samp>).</span> Also available for standard object
                fields (picklist and lookup fields only) in API version 30.0 and
                later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="tracktrending_name"><a name="tracktrending_name"><!-- --></a>trackTrending</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">
                <span class="ph" id="field_track_trending_desc"><a name="field_track_trending_desc"><!-- --></a>Indicates whether historical
                  trending data is captured for the field (<samp class="codeph java">true</samp>) or not (<samp class="codeph java">false</samp>).</span>
                <span class="ph" id="field_tracktrending_desc2"><a name="field_tracktrending_desc2"><!-- --></a>If this attribute is <samp class="codeph java">true</samp> for at least one field, the
                  object is enabled for historical trending.</span> Available in API
                version 29.0 and later.
              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description">This field is only relevant for a checkbox field. If set, true
                values are built into the index. This field has been deprecated as
                of API version 14.0 and is only provided for backward
                compatibility.</td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="type_name"><a name="type_name"><!-- --></a>type</span></td>

              <td class="entry" headers="d149757e2988" data-title="Field Type">FieldType is an enumeration of strings</td>

              <td class="entry" headers="d149757e2991" data-title="Description">Indicates the field type for the field. Valid values:<a name="field_type_options"><!-- --></a>
                <ul class="ul bulletList" id="field_type_options">
                  <li class="li">
                    <samp class="codeph nolang">Address</samp>
                    (beta)
                  </li>

                  <li class="li"><samp class="codeph nolang">AutoNumber</samp></li>

                  <li class="li"><samp class="codeph nolang">Lookup</samp></li>

                  <li class="li"><samp class="codeph nolang">MasterDetail</samp></li>

                  <li class="li"><samp class="codeph nolang">Checkbox</samp></li>

                  <li class="li"><samp class="codeph nolang">Currency</samp></li>

                  <li class="li"><samp class="codeph nolang">Date</samp></li>

                  <li class="li"><samp class="codeph nolang">DateTime</samp></li>

                  <li class="li"><samp class="codeph nolang">Email</samp></li>

                  <li class="li"><samp class="codeph nolang">EncryptedText</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">Number</samp><sup class="ph sup">1</sup>
                  </li>

                  <li class="li"><samp class="codeph nolang">Percent</samp></li>

                  <li class="li"><samp class="codeph nolang">Phone</samp></li>

                  <li class="li"><samp class="codeph nolang">Picklist</samp></li>

                  <li class="li"><samp class="codeph nolang">MultiselectPicklist</samp></li>

                  <li class="li"><samp class="codeph nolang">Summary</samp></li>

                  <li class="li"><samp class="codeph nolang">Text</samp></li>

                  <li class="li"><samp class="codeph nolang">TextArea</samp></li>

                  <li class="li"><samp class="codeph nolang">LongTextArea</samp></li>

                  <li class="li"><samp class="codeph nolang">Summary</samp></li>

                  <li class="li"><samp class="codeph nolang">Url</samp></li>

                  <li class="li"><samp class="codeph nolang">Hierarchy</samp></li>

                  <li class="li"><samp class="codeph nolang">File</samp></li>

                  <li class="li"><samp class="codeph nolang">Html</samp></li>

                  <li class="li"><samp class="codeph nolang">Geolocation</samp></li>

                </ul>
                <p class="p">For standard fields on standard objects, the
                  <span class="keyword parmname">type</span> field is optional. This field is
                  included for some standard field types, such as Picklist or
                  Lookup, but not for others. The <span class="keyword parmname">type</span> field
                  is included for custom fields.
                </p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e2991" data-title="Description">Indicates whether the field is unique (<samp class="codeph java">true</samp>) or not (<samp class="codeph java">false</samp>).</td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="visiblelines_name"><a name="visiblelines_name"><!-- --></a>visibleLines</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description"><span class="ph" id="visiblelines_desc"><a name="visiblelines_desc"><!-- --></a>Indicates the number of lines
                  displayed for the field.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e2985" data-title="Field Name"><span class="keyword parmname" id="writerequiresmasterread_name"><a name="writerequiresmasterread_name"><!-- --></a>writeRequiresMasterRead</span></td>

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

              <td class="entry" headers="d149757e2991" data-title="Description">
                <span class="ph" id="write_req_mast_read_desc1"><a name="write_req_mast_read_desc1"><!-- --></a>Sets the minimum sharing
                  access level required on the parent record to create, edit, or
                  delete child records. This field applies only to master-detail
                  or junction object custom field types.</span><a name="write_req_mast_read_desc2"><!-- --></a>
                <ul class="ul bulletList" id="write_req_mast_read_desc2">
                  <li class="li">
                    <samp class="codeph java">true</samp>—Allows users
                    with “Read” access to the parent record
                    permission to create, edit, or delete child records. This
                    setting makes sharing less restrictive.
                  </li>

                  <li class="li">
                    <samp class="codeph java">false</samp>—Allows users
                    with “Read/Write” access to the parent record
                    permission to create, edit, or delete child records. This
                    setting is more restrictive than <samp class="codeph java">true</samp>, and is the default value.
                  </li>

                </ul>
                <p class="p" id="write_req_mast_read_desc3"><a name="write_req_mast_read_desc3"><!-- --></a>For junction objects, the
                  most restrictive access from the two parents is enforced. For
                  example, you set to <samp class="codeph java">true</samp> on
                  both master-detail fields, but users have “Read”
                  access to one parent record and “Read/Write”
                  access to the other parent record. In this example, users are
                  unable to create, edit, or delete child records.</p>
              </td>

            </tr>

          </tbody>

        </table>

## Picklist Metadata

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



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

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

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

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d149757e4085" data-title="Field Name"><span class="keyword parmname">controllingField</span></td>

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

              <td class="entry" headers="d149757e4091" data-title="Description">The <span class="keyword parmname">fullName</span>
                <span class="ph" id="controllingfield_desc"><a name="controllingfield_desc"><!-- --></a>of the controlling field if this
                  field is a dependent picklist. A dependent picklist works with a
                  controlling picklist or checkbox to filter the available
                  options. The value chosen in the controlling field affects the
                  values available in the dependent field. This field is available
                  in API version 14.0 and later.</span>
              </td>

            </tr>

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

              <td class="entry" headers="d149757e4088" data-title="Field Type">
                <a class="xref" href="#picklistvalue">PicklistValue</a>[]
              </td>

              <td class="entry" headers="d149757e4091" data-title="Description">
                <p class="p">Required. Represents a set of values for a picklist.</p>

              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e4091" data-title="Description">
                <p class="p">Required. Indicates whether values are sorted (<samp class="codeph java">true</samp>), or not (<samp class="codeph java">false</samp>).</p>

              </td>

            </tr>

          </tbody>

        </table>

## PicklistValue Metadata

This metadata type defines a value in the picklist and specifies whether this value is the default value. This type extends Metadata 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.
- You can’t set a picklist value as inactive, but if the picklist value is missing and you invoke an update() call, the missing value becomes inactive.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d149757e4216" 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="d149757e4210" data-title="Field Name"><span class="keyword parmname" id="field_closed"><a name="field_closed"><!-- --></a>closed</span></td>

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

              <td class="entry" headers="d149757e4216" 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
                later.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e4210" data-title="Field Name"><span class="keyword parmname" id="Color"><a name="Color"><!-- --></a>color</span></td>

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

              <td class="entry" headers="d149757e4216" data-title="Description">
                <span class="ph" id="ColorDesc"><a name="ColorDesc"><!-- --></a>Indicates the color assigned to the picklist
                  value when 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 during chart
                  generation.</span> This field is available in API version 17.0 and
                later.
              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e4216" 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="d149757e4210" data-title="Field Name"><span class="keyword parmname" id="field_converted"><a name="field_converted"><!-- --></a>converted</span></td>

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

              <td class="entry" headers="d149757e4216" 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. The best
                  practice is to convert a lead when it becomes a real opportunity
                  that you want to forecast.</span> For more information, see
                “Convert Qualified Leads” in Salesforce Help. This
                field is available in API version 16.0 and later.
              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e4216" 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 Salesforce 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_tooling.meta/api_tooling/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="d149757e4210" data-title="Field Name"><span class="keyword parmname">default</span></td>

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

              <td class="entry" headers="d149757e4216" data-title="Description">Required. Indicates whether this value is the default picklist
                value in the specified picklist (<samp class="codeph java">true</samp>), or not (<samp class="codeph java">false</samp>).</td>

            </tr>

            <tr>
              <td class="entry" headers="d149757e4210" data-title="Field Name"><span class="keyword parmname" id="field_description"><a name="field_description"><!-- --></a>description</span></td>

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

              <td class="entry" headers="d149757e4216" data-title="Description">
                <span class="ph" id="field_description_desc"><a name="field_description_desc"><!-- --></a>Description of a custom picklist
                  value. This field is only relevant for the standard
                  <span class="keyword parmname">Stage</span> field in opportunities. It’s
                  useful to include a description for a customized picklist value
                  so that the historical reason for creating it can be
                  tracked.</span> This field is available in API version 16.0 and
                later.
              </td>

            </tr>

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

              <td class="entry" headers="d149757e4213" data-title="Field Type">ForecastCategories, an enumeration of type string</td>

              <td class="entry" headers="d149757e4216" 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> Valid values:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Omitted</samp></li>

                  <li class="li"><samp class="codeph nolang">Pipeline</samp></li>

                  <li class="li"><samp class="codeph nolang">BestCase</samp></li>

                  <li class="li"><samp class="codeph nolang">Forecast</samp></li>

                  <li class="li"><samp class="codeph nolang">Closed</samp></li>

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

            </tr>

            <tr>
              <td class="entry" headers="d149757e4210" data-title="Field Name"><span class="keyword parmname" id="picklistValue_fullName"><a name="picklistValue_fullName"><!-- --></a>fullName</span></td>

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

              <td class="entry" headers="d149757e4216" data-title="Description">The name used as a unique identifier for API access. <span class="ph" id="fullName_allowed_chars"><a name="fullName_allowed_chars"><!-- --></a>The <span class="keyword parmname">fullName</span>
                  can contain only underscores and alphanumeric characters. It
                  must be unique, begin with a letter, not include spaces, not end
                  with an underscore, and not contain two consecutive
                  underscores.</span> This field is inherited from Metadata.
              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e4216" 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 Salesforce Help. This field is
                available in API version 16.0 and later.
              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e4216" 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="d149757e4210" data-title="Field Name"><span class="keyword parmname" id="field_reverseRole"><a name="field_reverseRole"><!-- --></a>reverseRole</span></td>

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

              <td class="entry" headers="d149757e4216" 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. For
                  example, for the role “subcontractor”, a reverse
                  role is “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 Salesforce
                  Help.</p>
                This field is available in API version 18.0 and
                later.
              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e4216" 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 Salesforce Help. This field is available in API
                version 16.0 and later.
              </td>

            </tr>

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

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

              <td class="entry" headers="d149757e4216" 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>

## RelationshipReferenceTo Type

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



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

              <th class="featureTableHeader  " id="d149757e4627">Type </th>

              <th class="featureTableHeader  " id="d149757e4630">Details</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d149757e4624" data-title="Field"><span class="keyword parmname">referenceTo</span></td>

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

              <td class="entry" headers="d149757e4630" data-title="Details">
                <p class="p">The objects that can have a relationship to the field represented
                  by this FieldDefinition.</p>

              </td>

            </tr>

          </tbody>

        </table>

## WorkflowFieldUpdate Metadata

For more information about WorkflowFieldUpdate, see the [Metadata API Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/metadata.htm "HTML (New Window)").