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
aholetecaholetec 

Picklist sort order replication problem


Hi,

I was wondering if anybody knows how to query for the picklist sort order values.
Is there an API call that will return the sort order for a specific picklist ?
I can't seem to find anything on the documentation about the sort order.

Thank you !

Alex Holetec

DevAngelDevAngel
I think you will need to use the metadata api.

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

Look for the chapter entitiled "Metadata Calls and Objects (Developer Preview Release)"