---
schema_version: "1"
id: f76b63aa37dc6651ddbf5ce876369322b0edc9cf4030b4e3efd460bfd2163672
title: comp-assets-promotions (layout)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_comp_assets_promotions__layout_.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_comp_assets_promotions__layout_.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 00cc273b246c6d4576d32758271b4d70983952ee15810548efd42acd65a1b763
description: The comp-assets-promotions layout provides the structure for the Promotions tab on the cards-based Assets and Review Cart Visualforce pages.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# comp-assets-promotions (layout)

The comp-assets-promotions layout provides the structure for the **Promotions** tab on the cards-based Assets and Review Cart Visualforce pages.

**Template**

[comp-assets-promotions (template)](https://help.salesforce.com/s/articleView?id=ind.comms_comp_assets_promotions__template_.htm&release=264.0.0&type=5 "The comp-assets-promotions template provides the space for the Promotions tab on the cards-based Assets and Review Cart Visualforce pages.")

**Layout Session Variables**

None

**Data Source**

Dual

**Remote Class**

```
CpqAppHandler
```

**Remote Method**

```
getAppliedPromotionsByAccount
```

**Input map**

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col>
        <col>
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d187121e98">
            <p style="margin-bottom:0;">Input Map Variable</p>
          </th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d187121e104">
            <p style="margin-bottom:0;">Value</p>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Input Map Variable" class="slds-cell-wrap" style="vertical-align:top;" headers="d187121e98 ">
            <p style="margin-bottom:0;">accountId</p>
          </td>

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d187121e104 ">
            <p style="margin-bottom:0;">{{attrs.accountId}}</p>
          </td>

        </tr>
      </tbody>
    </table>

**Result JSON Path**

```
records
```

**REST API Information**

Get Applied Promotions for Account

```
GET /services/apexrest/vlocity_cmt/v2/accounts/{{attrs.accountId}}/promotions
```

**Cards**

[comp-assets-promotions-card](https://help.salesforce.com/s/articleView?id=ind.comms_comp_assets_promotions_card.htm&release=264.0.0&type=5 "The comp-assets-promotions-card Renders the products on the Promotions tab on the cards-based Assets and Review Cart Visualforce pages.")

**Image**

![The layout includes a filter with the All value displayed, and table columns Promotion Name, Description, Commitment Start Date, Commitment End Date, Cancellation Date, and Reason for Cancellation.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/assets_promotions_compassetspromotionslayout.jpg)