You need to sign in to do that
Don't have an account?
Alok_Nagarro
Access the picklist valus !!!!!
Hi,
I m trying to get all the values of a picklist (custom field) using apex, but still i couldn't.
Is there any way to do it ?
If you have, pls reply......
Thanks.
Have you tried this?
http://blog.sforce.com/sforce/2008/12/using-the-metadata-api-to-retrieve-picklist-values.html
Search is your friend.
All Answers
Have you tried this?
http://blog.sforce.com/sforce/2008/12/using-the-metadata-api-to-retrieve-picklist-values.html
Search is your friend.
You can retrieve picklist values in Apex. Use the Describe methods, specifically on the Field you want to access the picklist values.
Here is sample code:
Hi,
Thanks to both of you......
It's working.
.