# Using the ‘keypairs’ Field in Celigo Forms Sourced from NetSuite

**URL:** <https://connective.celigo.com/t/using-the-keypairs-field-in-celigo-forms-sourced-from-netsuite/4272>\
**Category:** Integrator.io\
**Created:** [April 14, 2025, 7:44pm UTC](https://connective.celigo.com/t/using-the-keypairs-field-in-celigo-forms-sourced-from-netsuite/4272 "2025-04-14T19:44:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![julianeveliz](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/julianeveliz/32/7231_2.png) [@julianeveliz](https://connective.celigo.com/u/julianeveliz)\
**Post date:** [April 14, 2025, 7:44pm UTC](https://connective.celigo.com/t/using-the-keypairs-field-in-celigo-forms-sourced-from-netsuite/4272/1 "2025-04-14T19:44:15Z")

</div>

Is it possible to create a ‘keypairs’ field like the one in the Shopify Integration App that sources its values from a NetSuite saved search?

 ![The image shows a section of a shipping method mapping interface featuring options for different shipping speeds and the ability to search or select methods. (Captioned by AI)](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/9/93455cef563f73e67b5d82ec8cf4f98a2b552c5a.png)

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [April 14, 2025, 7:51pm UTC](https://connective.celigo.com/t/using-the-keypairs-field-in-celigo-forms-sourced-from-netsuite/4272/2 "2025-04-14T19:51:38Z")

</div>

Yes

> [@Querying NetSuite Records in Custom Form Builder Settings](https://connective.celigo.com/t/querying-netsuite-records-in-custom-form-builder-settings/566/2):
>
> Hi @sujitdesai183, yes this is possible and here is an example I put together for you. Note that you will need to change the connection id for each virtual export to your own Shopify and NetSuite connection ids. Also, for the NetSuite section, you will need to change the search id to your own NetSuite search id. As for the NetSuite saved search itself, my result included Internal ID that had a custom label of value and then Name with a custom label of label. Hopefully this helps!

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [April 14, 2025, 7:53pm UTC](https://connective.celigo.com/t/using-the-keypairs-field-in-celigo-forms-sourced-from-netsuite/4272/3 "2025-04-14T19:53:55Z")

</div>

Or you can use [optionsMap](https://docs.celigo.com/hc/en-us/articles/360059205112-Common-form-fields#available-fields-2) field type in an example like this if you need more than 2 columns:

 ![A screenshot of a form builder interface from Celigo, showing JSON code for form definition on the left and form preview on the right. (Captioned by AI)](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/1/19a97e7d2951f1e35e38978a9fa76c3e0e6ed133.png)

```json
{
  "fieldMap": {
    "salesforceAccountType_map_netsuiteCustomerStageAndStatus": {
      "optionsMap": [
        {
          "id": "netsuiteLocation",
          "name": "NetSuite Location",
          "type": "exportSelect",
          "resource": {
            "virtual": {
              "name": "Lookup",
              "_connectionId": "626168f90b6ef816b50c82d7",
              "asynchronous": true,
              "oneToMany": false,
              "netsuite": {
                "type": "restlet",
                "skipGrouping": true,
                "statsOnly": false,
                "restlet": {
                  "recordType": "location",
                  "searchId": "3369",
                  "useSS2Restlets": false
                },
                "distributed": {
                  "useSS2Framework": false
                }
              },
              "distributed": {
                "disabled": false
              },
              "adaptorType": "NetSuiteExport"
            }
          }
        },
        {
          "id": "netsuiteCustomerStage",
          "label": "NetSuite Customer Stage",
          "required": true,
          "type": "select",
          "options": [
            {
              "value": "lead",
              "label": "Lead"
            },
            {
              "value": "prospect",
              "label": "Prospect"
            },
            {
              "value": "customer",
              "label": "Customer"
            }
          ]
        },
        {
          "id": "netsuiteCustomerStatus",
          "label": "NetSuite Customer Status",
          "required": false,
          "type": "select",
          "options": [
            {
              "value": "6",
              "label": "Unqualified"
            },
            {
              "value": "7",
              "label": "Qualified Lead"
            },
            {
              "value": "8",
              "label": "In Discussion"
            },
            {
              "value": "9",
              "label": "Identified Decision Makers"
            },
            {
              "value": "10",
              "label": "Proposal"
            },
            {
              "value": "11",
              "label": "In Negotiation"
            },
            {
              "value": "12",
              "label": "Purchasing"
            },
            {
              "value": "13",
              "label": "Closed Won"
            },
            {
              "value": "14",
              "label": "Closed Lost"
            },
            {
              "value": "15",
              "label": "Renewal"
            },
            {
              "value": "16",
              "label": "Lost Customer"
            },
            {
              "value": "17",
              "label": "Qualified Prospect"
            }
          ]
        }
      ],
      "allowFailures": false,
      "hideLookupAllowFailures": true,
      "title": "Map Salesforce Account Type to NetSuite Customer Stage and Status",
      "tooltip": "",
      "name": "salesforceAccountType_map_netsuiteCustomerStageAndStatus",
      "type": "staticMap"
    }
  },
  "layout": {
    "fields": [
      "salesforceAccountType_map_netsuiteCustomerStageAndStatus"
    ]
  }
}

```

---

<div class="post-metadata">

**Author:** ![julianeveliz](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/julianeveliz/32/7231_2.png) [@julianeveliz](https://connective.celigo.com/u/julianeveliz)\
**Post date:** [April 14, 2025, 8:29pm UTC](https://connective.celigo.com/t/using-the-keypairs-field-in-celigo-forms-sourced-from-netsuite/4272/4 "2025-04-14T20:29:07Z")

</div>

> [@Querying NetSuite Records in Custom Form Builder Settings](https://connective.celigo.com/t/querying-netsuite-records-in-custom-form-builder-settings/566/2):
>
> Also, fo

This is amazing, Tyler! Thank you so much. I got it to work.
