function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Raphael BendenounRaphael Bendenoun 

set Field Pick List Value from SOQL query

Hi Friends,
I have a custom field defined as a picklist. 
I would like to set the values of my picklist based on a SOQL query on List view. 
That way my users will be able to assign an opportunity to a specific list view.

how could I do that using apex ? 
Naveen KNNaveen KN
I would like to set the values of my picklist based on a SOQL query on List view. 

can you elaborate the highlighted one as your question is not clear?