You are here:
Picklists in EPC
If an attribute includes multiple values, a picklist represents all of the defined values for that attribute. A picklist is an ordered list of values that customers can choose from when buying a product. You must define picklists before creating attributes.
For example, iPhone has three attributes, finish, capacity, and display. Each of these attributes has several possible values, such as:
-
Phone finish (Rose Gold, Gold, Silver, Black, etc.)
-
Capacity (32GB, 128GB, 256GB)
-
Display (4.7-inch, 5.5-inch)
You must define a separate picklist for each of the three attributes. When defining a picklist, you can optionally nominate a default value for each picklist.
Picklists in EPC perform a similar function as Salesforce picklists, but they
are custom objects called Vlocity Picklists (API name:
vlocity_cmt__Picklist__c).
Picklists can be created with the following data types:
-
Text
-
Number
-
Boolean
-
Date
-
Datetime
Picklists are designed to be globally reusable across attributes assigned at the object type level or at the product level.
Picklist attribute values are stored as text, even if the picklist you select has another Data Type, such as Number. If you use a Picklist attribute in a Set Value or Set Default Value rule, verify that the rule expresses the attribute's data type as text for the Value to Set and in the rule's Expression box.
For information to activate Picklist value see, Picklist Value Activation.

