Newer Version Available
Xmd Dimension Input
The extended metadata (Xmd) for a dimension in an Analytics dataset.
- Properties
-
Property Name Type Description Required or Optional Available Version field String The field name of the dimension (used in queries). Required 36.0 label String The display name for the dataset field. Can be up to 40 characters. Optional 36.0 linkTemplate String The URL to open when the user clicks the link in the actions menu. Overrides the default URL link, which is /{{row.recordIdField}}. The default finds the Salesforce record with the record ID specified in the recordIdField Xmd parameter. Must be 255 characters or less. To open a Salesforce record from a multi-org environment, enter {{instanceUrl}} to populate the org URL specified in the organizations section of the Xmd. Example: /{{row.dimensionNameId}}. Optional 36.0 linkTemplateEnabled Boolean Indicates whether to display the link to open a Salesforce record or URL (true) or not (false). If set to false or not set, the menu doesn't display the Open Record link option. Optional 36.0 linkTooltip String The tooltip that a dashboard viewer sees when they hover over the link in a Analytics lens or dashboard. Optional 36.0 members XmdDimensionMemberInput[] 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. Optional 36.0 recordDisplayFields String[] 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. Optional 36.0 recordIdField String The dataset field that contains the record ID of the Salesforce object that you want to perform the action on. Optional 36.0 recordOrganizationIdField String The record organization ID for this dimension. Optional 36.0 salesforceActions XmdDimensionSalesforceActionInput[] 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. Optional 36.0 salesforceActionsEnabled Boolean Indicates if the Salesforce actions menu is enabled to appear on the field (true) or not (false). If set to false or not set, the menu doesn't display any actions. Required 36.0 showInExplorer Boolean Indicates whether the dataset field can be selected from the dashboard designer or explorer when creating dashboards and lenses (true) or not (false). Even if showInExplorer is false, the field can still be used for SAQL queries, manually added in JSON, and accessed using the Analytics REST API. Required 36.0