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
MayankDkPantMayankDkPant 

Adding Value to a Picklist using apex code and Custom object

Hi,

 

My requirement.

 

I have a custom object name "Platform": Which has a text field "Platform model".

I have a custom picklist on opportunity. I want that whenever a new "platform model" text value is added to platfrom record then that value should auto added in platform picklist in opportunity. How can I achieve this.

Any help will be appreciated.

 

With Regards,

Mayank Pant

SFAdmin5SFAdmin5

is there a lookup field to opportunity on the custom object?