You need to sign in to do that
Don't have an account?
prashant yadav 112
Schema
Hi everyone
i m new in Salesforce..i have to fetch values of all available picklist in account object through schema.. kindly help me
i m new in Salesforce..i have to fetch values of all available picklist in account object through schema.. kindly help me
Following code sample shows how you can retrieve picklist values for the “Industry” field of the “Account” object as a list of Schema.PicklistEntry using getDescribe() and getPicklistValues():
Reference:
https://developer.salesforce.com/blogs/developer-relations/2008/12/using-the-metadata-api-to-retrieve-picklist-values.html
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
All Answers
Following code sample shows how you can retrieve picklist values for the “Industry” field of the “Account” object as a list of Schema.PicklistEntry using getDescribe() and getPicklistValues():
Reference:
https://developer.salesforce.com/blogs/developer-relations/2008/12/using-the-metadata-api-to-retrieve-picklist-values.html
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Thanks,