Using Specifications with Picklists
Liferay DXP 2024.Q3+/Portal GA125+
You can now use picklists to define specification values and link them to a specification template to use with products. There are two ways to create a picklist:
- In the Picklists application. See Creating Picklists for more information.
- In the Specifications application
This feature was released behind a release feature flag in Liferay DXP 2024.Q3/Portal GA125. It was made Generally Available (GA) in 2024.Q4/Portal GA129.
Creating a Picklist in the Specifications Application
If you already have a picklist created, see Linking a Picklist to a Specification. After creating a specification, scroll down to the Picklist section.
- 
Click Add (  ). ).
- 
Choose Create a New Picklist.  
- 
Enter a name and click Save. 
- 
To add values, click the created picklist and click Add (  ) in the Items section. ) in the Items section.
- 
Enter a name and click Save. The key is autopopulated. 
- 
Click Save.  
- 
Click Save to save the specification. 
The new picklist also appears in the Picklists application.
Linking a Picklist to a Specification
- 
Open the Global Menu (  ) and navigate to Commerce → Specifications. ) and navigate to Commerce → Specifications.
- 
Select a specification and scroll down to the Picklist section. 
- 
Click Add (  ). ).
- 
Choose Add an Existing Picklist.  
- 
In the modal that appears, search for the existing picklist. It auto-completes the name as you type. Select the picklist. 
- 
Click Save. 
The picklist values share a bidirectional relationship between the Picklists application and the Specifications application. If you delete a picklist value from a specification, it also deletes the value in the Picklists application and vice-versa. However, removing a picklist from a specification doesn’t delete the picklist; it only removes the link between the specification and the picklist.
Linking a Specification to a Product
Now that you’ve created a specification linked to a picklist, you can associate it with a product.
- 
Open the Global Menu (  ) and navigate to Commerce → Products. ) and navigate to Commerce → Products.
- 
Choose a product and scroll down to the Specifications section. 
- 
Click Add (  ). ).
- 
Choose Add an Existing Specification.  
- 
In the modal that appears, search for the existing specification. It auto-completes the name as you type. Select the specification. 
- 
The value drop-down autopopulates the values of the picklist. You can choose a value and click Submit. 

For specifications not linked to a picklist, you must enter a value as usual.