Get Started
getOrganizationId()
getPicklist(objectName, fieldName)
isOrgPreferenceEnabled(orgId, orgPreference)
Custom Triggers
Custom Validation Rules
DPE and Monitor Workflow Services
API End-of-Life Policy
Previous Versions
getPicklist(objectName, fieldName)This method accepts an object name and picklist field and returns the picklist values.
60.0
public static List<Map<String, String>> getPicklist(String objectName, String fieldName)
Type: String
The name of the object that contains the picklist field.
Type: String
The name of the picklist field.
Type: List<Map<String, String>>
Returns the values of the specified picklist field.