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
wesnoltewesnolte 

Programmatically alter picklist values and labels

Hello

 

As far as iI can tell there's not straight forward Apex way to to alter the values in a picklist(bummer). Is there some alternative? Like destroying the picklist and then creating a new one with updated values(not ideal)..?

 

 

Wes

TehNrdTehNrd
As of now it is not possible to edit the metadata (create, delete, modifiy fields etc) with Apex.