function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
for (int j = 0; j < describeSObjectResults.length; j++) { Field[] fields = describeSObjectResults[j].getFields(); for (int i = 0; fields != null && i < fields.length; i++) { if("Type".equals(fields[i].getName())) { PicklistEntry[] pl = fields[i].getPicklistValues(); for(int k=0; pl!=null && k<pl.length; k++) { System.out.println("PicklistValue="+pl[k].getValue()); } } } }