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
visualforce_devvisualforce_dev 

Edit picklist values of standard fields in standard object through Java code

Dear all.

 

I have to edit picklist values of standard fields like 'Rating', 'type' etc in standard object Account.

 

I am using the enterprise and metadat wsdls. But I didn't find any methods in these classes to edit these picklist values.

 

I think Update calls and account class in enterprise etc are for records not for fields.

 

any help would be great!!! This is something urgent..

 

Thanks in advance

 

aalbertaalbert

Correct, the enterprise WSDL is for data. The metadata API lets you modify the configuration of your salesforce.com instance through web services. Unfortanately, I do not believe the API supports the ability to modify standard picklist fields on standard objects. Picklist values on custom objects can be leveraged in the metadata api with a few caveats...detailed here

Message Edited by aalbert on 02-20-2009 09:04 AM
visualforce_devvisualforce_dev
Thanks Albert :)
kingapkingap

I have a picklist with over 100 values; Is there any way I can mass change some of these values?  or am I stuck editing manually one by one.....