---
schema_version: "1"
id: cb1ece237e1257ddf5fc27823a43b9dab26c3425bfacddef3f19571e5b885fcf
title: getFieldList Method
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_t_getfieldlist_method_215979.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_t_getfieldlist_method_215979.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 40fd9518988e725ba1949bf042621548a9c83ff0b75e12ba3d9f8c61f6f34be2
description: Returns the configured fields in FieldSet__c for a specific feature name.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# getFieldList Method

Returns the configured fields in `FieldSet__c` for a specific feature name.

## Class

## Input Parameters

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d167154e47">
              <p style="margin-bottom:0;">Parameter</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d167154e53">
              <p style="margin-bottom:0;">Required</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d167154e59">
              <p style="margin-bottom:0;">Description</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d167154e47 ">
              <p style="margin-bottom:0;">featureName</p>
            </td>

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

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d167154e59 ">
              <p style="margin-bottom:0;">Name of feature name mentioned in Field Setting
                records.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d167154e47 ">
              <p style="margin-bottom:0;">objectName</p>
            </td>

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

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d167154e59 ">
              <p>Name of the object.</p>
              <p style="margin-bottom:0;">Example:
                <code>vlocity_cmt__ServicePoint__c</code>
              </p>
            </td>

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

## Output Parameters

<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="d167154e136">
              <p style="margin-bottom:0;">Parameter</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d167154e142">
              <p style="margin-bottom:0;">Description</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Parameter" class="slds-cell-wrap" style="vertical-align:top;" headers="d167154e136 ">
              <p style="margin-bottom:0;">result</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d167154e142 ">
              <p style="margin-bottom:0;">Returns array of fields.</p>
            </td>

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

## Example Input Data

```
{"featureName":"MultiServiceMasterCartFields","objectName":"Quote"}
```

## Example Output Data

```
{"result":[{"displaySequence":1,"objectAPIName":"vlocity_cmt__ServicePoint__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Market Identifier","fieldAPIName":"vlocity_cmt__MarketIdentifier__c","fieldName":"vlocity_cmt__MarketIdentifier__c"},{"displaySequence":2,"objectAPIName":"vlocity_cmt__Premises__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Street Address","fieldAPIName":"vlocity_cmt__StreetAddress__c","fieldName":"vlocity_cmt__PremisesId__r.vlocity_cmt__StreetAddress__c"},{"displaySequence":3,"objectAPIName":"vlocity_cmt__Premises__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"City","fieldAPIName":"vlocity_cmt__City__c","fieldName":"vlocity_cmt__PremisesId__r.vlocity_cmt__City__c"},{"displaySequence":4,"objectAPIName":"vlocity_cmt__Premises__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Postal Code","fieldAPIName":"vlocity_cmt__PostalCode__c","fieldName":"vlocity_cmt__PremisesId__r.vlocity_cmt__PostalCode__c"},{"displaySequence":5,"objectAPIName":"vlocity_cmt__ServicePoint__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Utility Provider","fieldAPIName":"vlocity_cmt__UtilityProvider__c","fieldName":"vlocity_cmt__UtilityProvider__c"},{"displaySequence":6,"objectAPIName":"vlocity_cmt__ServicePoint__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Average Monthly Usage","fieldAPIName":"vlocity_cmt__AverageMonthlyUsage__c","fieldName":"vlocity_cmt__AverageMonthlyUsage__c"},{"displaySequence":7,"objectAPIName":"vlocity_cmt__ServicePoint__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Load Profile","fieldAPIName":"vlocity_cmt__LoadProfile__c","fieldName":"vlocity_cmt__LoadProfile__c"},{"displaySequence":8,"objectAPIName":"vlocity_cmt__ServicePoint__c","objectName":"vlocity_cmt__ServicePoint__c","fieldLabel":"Voltage Level","fieldAPIName":"vlocity_cmt__VoltageLevel__c","fieldName":"vlocity_cmt__VoltageLevel__c"}],"error":"OK"}
```