---
schema_version: "1"
id: 51d389455562c3626bedffcc764c7c6707c08a92f19512f581bcdaeec9acd415
title: cpq-cart-item-lookup (layout)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_cpq_cart_item_lookup__layout_.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_cpq_cart_item_lookup__layout_.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6c15998e48037edfc27b1903d93268547b3c3aa871d417e20494068c17bb7c08
description: The cpq-cart-item-lookup layout renders the Cart Item Lookup Field dialog box.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# cpq-cart-item-lookup (layout)

The cpq-cart-item-lookup layout renders the Cart Item Lookup Field dialog box.

**Template**

cpq-cart-item-lookup (layout)

**Data Source**

Dual

**Remote Class**

```
CpqAppHandler
```

**Remote Method**

```
getAvailableSites
```

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

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

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

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

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

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

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

**Result JSON Path**

None

**REST API Information**

Get Available Sites

For more information, see Get Available Sites.

```
GET /vlocity_cmt/v2/cpq/carts/{{params.id}}/sites?id={{params.lineItemId}}&lookupField={{params.fieldName}}
```

**Cards**

Empty

**Image**

![In the Cart Item Lookup Field window, under 'Please select a value from dropdown below', the value 'Alexander - New York City Residence' is selected. Under 'Please provide info below to create new instance', the Account Name field is blank. Below the Account Name field is a Create New button.](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/salesforce_cartitemlookupfield.jpg)