---
schema_version: "1"
id: b7b0d0057bd0b623d8cd84f304bb59a319f25ed94b0be82ae167dc3cefa27ac0
title: Xmd Dimension
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/bi_dev_guide_rest/bi_responses_xmd_dimension.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_xmd_dimension.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e81f921863385df8d6fe4ab8a6ec232419e3f34eb57df471d03941be5eab8cfd
description: The extended metadata (Xmd) for a dimension in an Analytics dataset.
---
# Xmd Dimension

The extended metadata (Xmd) for a dimension in an Analytics dataset.

Properties

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





              <thead class="thead sorted" align="left">
                <tr>
                  <th class="featureTableHeader vertical-align-top " id="d490131e61">Property Name</th>

                  <th class="featureTableHeader vertical-align-top " id="d490131e64">Type</th>

                  <th class="featureTableHeader vertical-align-top " id="d490131e67">Description</th>

                  <th class="featureTableHeader vertical-align-top " id="d490131e70">Filter Group and Version</th>

                  <th class="featureTableHeader vertical-align-top " id="d490131e73">Available Version</th>

                </tr>

              </thead>

              <tbody class="tbody">
                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">conditional​Formatting</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_conditional_formatting_property.htm" title="The extended metadata (Xmd) for a property in the conditional formatting for an Analytics dataset dimension or measure.">Conditional​Formatting​Property</a></td>

                  <td class="entry" headers="d490131e67" data-title="Description">The conditional formatting for a dimension.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 42.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">42.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">custom​Actions</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_xmd_dimension_custom_action.htm" title="The extended metadata (Xmd) for a custom action on an Analytics dataset dimension.">Xmd​Dimension​Custom​Action</a></td>

                  <td class="entry" headers="d490131e67" data-title="Description">The custom actions linked to this dimension.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">custom​Actions​Enabled</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">Boolean</td>

                  <td class="entry" headers="d490131e67" data-title="Description">Indicates whether the dimension has custom actions enabled (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">default​Action</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">String</td>

                  <td class="entry" headers="d490131e67" data-title="Description">The default action for the dimension.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 50.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">50</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">field</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">String</td>

                  <td class="entry" headers="d490131e67" data-title="Description">The field name of the dimension (used in queries).</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">label</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">String</td>

                  <td class="entry" headers="d490131e67" data-title="Description">The display name for the dataset field. Can be up to 40 characters.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">link​Template</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">String</td>

                  <td class="entry" headers="d490131e67" data-title="Description">The URL to open when the user clicks the link in the actions menu. Overrides the
                    default URL link, which is<samp class="codeph nolang"> /{{row.recordIdField}}.</samp>
                    The default finds the Salesforce record with the record ID specified in the <samp class="codeph nolang">recordIdField</samp> Xmd parameter. Must be 255 characters or
                    less. To open a Salesforce record from a multi-org environment, enter <samp class="codeph nolang">{{instanceUrl}}</samp> to populate the org URL specified in the
                    <samp class="codeph nolang">organizations</samp> section of the Xmd. Example:<samp class="codeph nolang"> /{{row.dimensionNameId}}.</samp>
                  </td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">link​Template​Enabled</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">Boolean</td>

                  <td class="entry" headers="d490131e67" data-title="Description">Indicates whether to display the link to open a Salesforce record or URL (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).
                    If set to <samp class="codeph nolang">false</samp> or not set, the menu doesn't display
                    the Open Record link option.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">link​Tooltip</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">String</td>

                  <td class="entry" headers="d490131e67" data-title="Description">The tooltip that a dashboard viewer sees when they hover over the link in a
                    Analytics lens or dashboard.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">members</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">
                    <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_xmd_dimension_member.htm" title="The extended metadata (Xmd) for a member linked to a dimension in an Analytics dataset.">Xmd​Dimension​Member</a>[]
                  </td>

                  <td class="entry" headers="d490131e67" data-title="Description">Any customizations for specific values of the dataset fields. For example, for the
                    "Country" field, change the label of the "USA" to "United States." And change the color
                    for this value in a chart to blue. <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.bi_dev_guide_rest.meta/bi_dev_guide_rest/images/icon_note.png" alt="Note">
                            <div class="mediaBd">
                              <h4 class="mbs">Note</h4>
                              <p>When you change the label, the new label only
                                appears in the user interface. You can’t use the label in queries, like a query filter.
                                For this, the best practice is to modify the field values when you create the
                                dataset.</p>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">record​Display​Fields</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">String[]</td>

                  <td class="entry" headers="d490131e67" data-title="Description">An ordered list of dimensions and measures. These dataset fields are used to help a
                    dashboard viewer identify a Salesforce record when multiple records match the action. For
                    each field, specify its API name. In some instances, a dimension value is associated with
                    multiple IDs and isn’t unique. For example, an opportunity with the name “acme” has
                    multiple opportunity IDs (and records). But the action or link can only be directed to
                    one record.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">record​Id​Field</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">String</td>

                  <td class="entry" headers="d490131e67" data-title="Description">The dataset field that contains the record ID of the Salesforce object that you
                    want to perform the action on.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">record​Organization​Id​Field</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">String</td>

                  <td class="entry" headers="d490131e67" data-title="Description">The record organization ID for this dimension.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">salesforce​Actions</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">
                    <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_xmd_dimension_salesforce_action.htm" title="The extended metadata (Xmd) for a Saleforce Action for a dimension in an Analytics dataset.">Xmd​Dimension​Salesforce​Action" </a>[]
                  </td>

                  <td class="entry" headers="d490131e67" data-title="Description">The actions that appear in the action menu. You can only add actions that are
                    defined in the page layouts for the corresponding Salesforce object. If left blank,
                    Analytics shows all actions.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">salesforce​Actions​Enabled</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">Boolean</td>

                  <td class="entry" headers="d490131e67" data-title="Description">Indicates if the Salesforce actions menu is enabled to appear on the field (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).
                    If set to <samp class="codeph nolang">false</samp> or not set, the menu doesn't display
                    any actions.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d490131e61" data-title="Property Name"><samp class="codeph nolang">show​In​Explorer</samp></td>

                  <td class="entry" headers="d490131e64" data-title="Type">Boolean</td>

                  <td class="entry" headers="d490131e67" data-title="Description">Indicates whether the dataset field can be selected from the dashboard designer or
                    explorer when creating dashboards and lenses (<samp class="codeph nolang">true</samp>)
                    or not (<samp class="codeph nolang">false</samp>). Even if <samp class="codeph nolang">showInExplorer</samp> is <samp class="codeph nolang">false</samp>, the field can
                    still be used for SAQL queries, manually added in JSON, and accessed using the Analytics
                    REST API.</td>

                  <td class="entry" headers="d490131e70" data-title="Filter Group and Version">Small, 36.0</td>

                  <td class="entry" headers="d490131e73" data-title="Available Version">36.0</td>

                </tr>

              </tbody>

            </table>