---
schema_version: "1"
id: 06db023d22d5eca18f673d301a0f3ba0250fc4592f0c12a4df7cab1d22879061
title: comp-assets-contract (card)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_comp_assets_contract__card_.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_comp_assets_contract__card_.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 014031db19df20df768b753e43c83d36f4648dd763b246fd3fb2d076bc2c2354
description: The comp-assets-contract card renders the date picker and other items in the header portion of the space that displays the assets on the cards-based Assets and Review Cart Visualforce pages, when the assets are grouped by contract.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# comp-assets-contract (card)

The comp-assets-contract card renders the date picker and other items in the header portion of the space that displays the assets on the cards-based Assets and Review Cart Visualforce pages, when the assets are grouped by contract.

**Title**

Contract Assets

**Filter**

None

**Card Session Variables**

None

**Data Source**

Dual

**Remote Class**

```
CpqAppHandler
```

**Remote Method**

```
getContracts
```

**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="d49635e94">
            <p style="margin-bottom:0;">Input Map Variable</p>
          </th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d49635e100">
            <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="d49635e94 ">
            <p style="margin-bottom:0;">accountId</p>
          </td>

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

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

**Result JSON Path**

```
records
```

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

**States**

Contract Assets

**Template**

[comp-assets-contract-load (template)](https://help.salesforce.com/s/articleView?id=ind.comms_comp_assets_contract_load__template_.htm&release=264.0.0&type=5 "The comp-assets-contract-load template groups assets by contract IDs.")

**Actions**

None

**Flyout**

[comp-assets-contract-layout](https://help.salesforce.com/s/articleView?id=ind.comms_comp_assets_contract_layout.htm&release=264.0.0&type=5 "The comp-assets-contract layout provides the structure for assets that are listed by contract on the cards-based Assets and Review Cart Visualforce pages.")

**Conditions**

None

**Image**

![The header includes a dropdown, date picker, and Change to Quote, Change to Order, and Move buttons.](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_compassetscontractcard.jpg)