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
SFRichSFRich 

Update Picklist

Is there a way to programatically pass a value through an API to add/change/delete an item on a picklist associated with a Salesforce Account field?  Today the Admin manually uses the Setup > Customize >  Accounts > Fields > Picklist Values screen.  I want to keep the Salesforce picklist in sync with a corporate table via a program rather than manual Admin updates. 
 
wesnoltewesnolte

bump.

 

I'm also looking for a solution to this.

wesnoltewesnolte
I finally found a way to do this, but you have to use <apex:selectList> with your own controller methods, but it's really no biggie. Check out chapter 14 of the Developers Guide for an example.
MaxaMaxa

Hi

 

can you paste sample code you used please, i cannto find any refferences for it in developers guide i used this one

http://www.salesforce.com/us/developer/docs/apexcode/salesforce_apex_language_reference.pdf

wesnoltewesnolte

Hey

 

My solution may not work for you as I use a visualforce page of my own making. Here's the documentation:

http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#StartTopic=Content/pages_compref_selectList.htm?SearchType=Stem

 

Cheers,

Wes