APEX SALESFORCE Salesforce Customization Salesforce.com

How to get field data types for each fields in Salesforce objects?

How to get field data types for each fields in Salesforce objects? we can get the all the standard and custom objects fields data types using the getGlobalDescribe, getDescribe, getType. String objType=’Account’; Map<String, Schema.SObjectType> schemaMap = Schema.getGlobalDescribe(); Schema.SObjectType leadSchema =…

Read More