How to allow users to add picklist values from field editor?

  • 2
  • Question
  • Updated 9 months ago
I want to allow users to add values to a picklist if the value they need isn't available. They shouldn't need admin abilities to do this, just an "Add New" when the picklist dropdown appears.
Photo of Anthony Davis

Anthony Davis

  • 162 Points 100 badge 2x thumb

Posted 5 years ago

  • 2
Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,026 Points 5k badge 2x thumb
Unless you have a custom picklist, you will probably need to use the Salesforce Metadata APIs.  
Photo of Arne-Per Heurberg

Arne-Per Heurberg

  • 3,046 Points 3k badge 2x thumb
I was thinking same but wasn't quite sure how that has changed in '19
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,968 Points 20k badge 2x thumb
If you use a custom object to provide your picklist values,  you can add a button to the page that opens a popup where you can add new records to that custom object. Then when that popup is saved, the new record value can be injected back into the field you were working on.  I use this on a new task page, allowing users to add new contacts or accounts.  The same construct could be done for picklists.