---
schema_version: "1"
id: 38982190b7d310bade882604ec35e7e44522503c9623d21c6e2724d4c3cf3af2
title: CustomFieldDisplayValue
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_customfielddisplayvalue.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_customfielddisplayvalue.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f557e7871b01a402a2ed2db12070108edb7acd73051949772432eaf1fa71e03b
description: Stores variation details for the product attribute item view. This object is available in API version 63.0 and later.
---
# CustomFieldDisplayValue

Stores variation details for the product attribute item view. This object is available in API version 63.0 and later.

## Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Special Access Rules

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

## Fields

| Field | Details |
| --- | --- |
| Color | 
Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The color variation in hexadecimal value format, for example #FF0000.



 |
| CurrencyIsoCode | 

Type

picklist

Properties

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

Description

The currency ISO code allowed by the organization. Possible value is:

- USD—U.S. Dollar

The default value is USD.



 |
| CustomFieldDisplayId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the custom field display that this variation is associated with.

This field is a relationship field.

Relationship Name

CustomFieldDisplay

Refers To

CustomFieldDisplay



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

Name of the custom field display value.



 |
| PickListApiValue | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The API name of the color variation picklist value, for example, red\_c.



 |

## Usage

This object only gets populated when display type in the CustomFieldDisplay object is ColorSwatch.

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as CustomFieldDisplayValue.

[CustomFieldDisplayValueChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object.

[CustomFieldDisplayValueFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[CustomFieldDisplayValueHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.