The cpq-promotions-list layout renders the Promotions list in Industries Cart.
In ​Salesforce Industries Communications, Media, and Energy Summer '18 and later releases, localeCode is passed as a parameter to the data source for multi-language support.
Template
cpq-promotions-list (template)
Layout Session Variables
|
Name |
Value |
|---|---|
|
totalSize |
payload.totalSize |
|
nextPromotion |
payload.actions.nextpromotions |
Data Source
Dual
Remote Class
CpqAppHandler
Remote Method
getCartsPromotions
Input map
|
Input Map Variable |
Value |
|---|---|
|
cartId |
{{params.id}} |
|
includeIneligible |
{{attrs.includeIneligible}} |
|
localeCode |
{{attrs.cpqUserLocale}} |
Result JSON Path
records
REST API Information
GET /services/apexrest/{namespace}/v2/cpq/carts/{{params.id}}/promotions?includeIneligible={{attrs.includeIneligible}}
Cards
Image