---
schema_version: "1"
id: daee6e92f0784ce6ad471cdfc95bf17c904feb9d79dcc6209c1370c95b2f4b61
title: comp-assets-contract-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_contract_layout.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_comp_assets_contract_layout.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 230c29ac3048607235b5697f1df765990271173cba0259d564f5384b3dbdc737
description: 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.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# comp-assets-contract-layout

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.

**Template**

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

**Layout Session Variables**

None

**Data Source**

Dual

**Remote Class**

```
CpqAppHandler
```

**Remote Method**

```
getAssetsByContract
```

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

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

        </tr>
        <tr class="">
          <td data-label="Input Map Variable" class="slds-cell-wrap" style="vertical-align:top;" headers="d254016e92 ">
            <p style="margin-bottom:0;">effectiveAssetsDateFilter</p>
          </td>

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

        </tr>
        <tr class="">
          <td data-label="Input Map Variable" class="slds-cell-wrap" style="vertical-align:top;" headers="d254016e92 ">
            <p style="margin-bottom:0;">pagesize</p>
          </td>

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d254016e98 ">
            <p style="margin-bottom:0;">10</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Input Map Variable" class="slds-cell-wrap" style="vertical-align:top;" headers="d254016e92 ">
            <p style="margin-bottom:0;">priceDetailsFields</p>
          </td>

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d254016e98 ">
            <p style="margin-bottom:0;">vlocity_cmt__OneTimeCharge__c</p>
          </td>

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

**Result JSON Path**

```
records
```

**REST API Information**

```
GET /services/apexrest/vlocity_cmt/v2/contracts/{{parent.Id.value}}/assets?
```

**Cards**

[comp-assets-product-item (card)](https://help.salesforce.com/s/articleView?id=ind.comms_comp_assets_product_item__card_.htm&release=264.0.0&type=5 "The comp-assets-product-item card renders the space for products listed by contracts on the cards-based Assets and Review Cart Visualforce pages.")

**Image**

![An empty table with Contract and Number columns.](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_compassetscontract_template.jpg)