---
schema_version: "1"
id: 57025ca4ca4e9e9967d709206d60dfc60bf5d55e8b13b043c39abe7475d7e920
title: CustomFieldDisplay
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_customfielddisplay.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_customfielddisplay.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8bb441263234c580fa604bc41f3fd9e1f8c4fc6e547fbc6cb757bfb6b50c196b
description: Represents the view type assigned to product attribute custom fields. This object is available in API version 63.0 and later.
---
# CustomFieldDisplay

Represents the view type assigned to product attribute custom fields. This object is available in API version 63.0 and later.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## Supported SOAP API Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

## Supported REST API Methods

DELETE, GET, HEAD, PATCH, POST, Query

## Special Access Rules

CustomFieldDisplay is available only if the B2B or D2C Commerce license is enabled.

## Fields

| Field | Details |
| --- | --- |
| DeveloperName | 
Type

string

Properties

Create, Filter, Group, Sort, Update

Description

The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization. Label is **Record Type Name**. This field is automatically generated, but you can supply your own value if you create the record using the API.



 |
| DisplayType | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The view type of the product attribute custom fields.

Possible values are:

- ColorSwatch
- Dropdown
- Pill

The default value is Dropdown.



 |
| FieldApiName | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The unique name of the product attribute, for example, color\_c.



 |
| Language | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The language of the CustomFieldDisplay.



 |
| ManageableState | 

Type

ManageableState enumerated list

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Indicates the manageable state of the specified component that is contained in a package:

- beta
- deleted
- deprecated
- deprecatedEditable
- installed
- installedEditable
- released
- unmanaged





 |
| MasterLabel | 

Type

string

Properties

Create, Filter, Group, Sort, Update

Description

Label for the CustomFieldDisplay. In the UI, this field is Custom Field Display.



 |
| NamespacePrefix | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The namespace prefix associated with this object. Each Developer Edition organization that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix\_\_componentName notation.



 |