Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Picklist Values

The picklist values for a field, scoped to a record type. If a picklist is dependent, this response includes the values of its immediate controlling field and how they map to the picklist.
Property Name Type Description Filter Group and Version Available Version
controllerValues Map<String, Integer>
If the picklist is dependent, this property is a map of its immediate controlling field’s picklist values to their indexes.
  • If the controlling field is a picklist, the String is the picklist value and the integer is the value’s index.
  • If the controlling field is a checkbox, the values in the map are "false": 0 and "true": 1.

If the picklist is independent, the map is empty.

Small, 41.0 41.0
defaultValue Picklist Value The default value for the picklist, or null if there isn't one. Small, 41.0 41.0
url String A User Interface API resource that represents this payload. Small, 41.0 41.0
values Picklist Value[] A list of values for this object, record type, field combination. Small, 41.0 41.0