Query definition is the SOQL query, and is the parent record for the other query custom
metadata type records. If you configured a dynamic data source for a multi-select picklist, use a
query definition as an SOQL subquery.
Required Editions
Available in: Lightning Experience
Available in: Enterprise and Unlimited Editions where Consumer Goods
Cloud is enabled
User Permissions Needed
To create a query definition:
CGCloud Business Admin
In Setup, find and select Custom Metadata Types.
For Query Definitions, click Manage Records.
Click New.
Add a label and a name.
Select an object and a context object.
For example, if you’re creating the query definition to customize the Link Tactics page of
claims, select the object as Tactic, and the context object as Payment.
Select a sales organization.
To enter a fieldset, select Is Fieldset.
If you selected Is Fieldset, enter the API name of a fieldset that contains the field to
add as columns in the list. If you didn’t select Is Fieldset, enter API names for fields, each
one in a new line and with no white spaces.
Enter the name of the field that you don’t want to appear in the user interface.
To add further specifications, add a query footer.
For example, to group the rows, add 'GROUP BY', and then add the name of the grouping
criteria.
Save your changes.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.