Loading
Set Up and Maintain Retail Execution
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Embed Analytics for Consumer Goods Dashboards in Lightning Pages

          Embed Analytics for Consumer Goods Dashboards in Lightning Pages

          The Analytics for Consumer Goods app includes dashboards you can embed and access in Lightning Experience pages.

          Required Editions

          Available in Enterprise, Performance, and Unlimited editions where Consumer Goods Cloud is enabled.
          Example
          Example

          To embed the Store Insights dashboard on the Retail Stores page, use the following string in the Filter String box:

          {"datasets":{"CG_Visit":[{"fields":["RetailStore.Id"],"filter":{"operator":"in","values":["$Id"]}}]}}
          Example
          Example

          To embed the Store Insights dashboard on the Visits page, use the following string in the Filter String box:

          {"datasets":{"CG_Visit":[{"fields":["RetailStore.Id"],"filter":{"operator":"in","values":["$PlaceId"]}}]}}
          Example
          Example

          To embed the Whitespace Analysis dashboard on the Retail Stores page, use the following string in the Filter String box:

          {"datasets":{"CG_OrderItem":[{"fields":["Order.AssessmentTaskOrder.AssessmentTask.Visit.RetailStore.RetailLocationGroupId"],"filter":{"operator":"in","values":["$RetailLocationGroupId"]}}]}}
          Example
          Example

          To embed the Account Embedded dashboard on the Account page, use the following string in the Filter String box:

          {"datasets":{"CG_RetailStore":[{"fields":["AccountId"],"filter":{"operator":"in","values":["$Id"]}}]}}
          Example
          Example

          To embed the Store Embedded dashboard on the Retail Stores page, use the following string in the Filter String box:

          {"datasets":{"CG_RetailStore":[{"fields":["RetailStore.Id"],"filter":{"operator":"in","values":["$Id"]}}]}}
          Example
          Example

          To embed the Last Visit Store Performance dashboard on the Retail Stores page, use the following string in the Filter String box:

          {"datasets":{"CG_Visit":[{"fields":["RetailStore.Id"],"filter":{"operator":"in","values":["$Id"]}}]}}
          Example
          Example

          To embed the Last Visit Store Performance dashboard on the Visits page, use the following string in the Filter String box:

          {"datasets":{"CG_Visit":[{"fields":["RetailStore.Id"],"filter":{"operator":"in","values":["$PlaceId"]}}]}}
           
          Loading
          Salesforce Help | Article