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
Matt BrineyMatt Briney 

Select Options available through API

If we have a field that is a drop down in Salesforce is it possible to retrieve a list fo all of the available values through the API?

Best Answer chosen by Admin (Salesforce Developers) 
ptepperptepper

Yes. In Salesforce, a select field is called a Picklist. So when looking for help on that, you should search with that term. You can use describeObject to retrieve an array of the values. Here's an example in the documentation:

 

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_describesobject.htm

 

-paul