You need to sign in to do that
Don't have an account?
shankar anand
Compilation Error Schema.getGlobalDescribe();
I'm trying to use the following in my controller class in the developer edition. It throws a compilation error saying "Method doesn't exist or incorrect signature"
Map<String, Schema.SObjectType> globalObjMap = Schema.getGlobalDescribe();
I've seen the descibe call being used in many examples on the web and even in the salesforce documentation. How come it's throwing an error for me. Kindly help.
Map<String, Schema.SObjectType> globalObjMap = Schema.getGlobalDescribe();
I've seen the descibe call being used in many examples on the web and even in the salesforce documentation. How come it's throwing an error for me. Kindly help.
http://amitsalesforce.blogspot.com/2015/11/apex-describe-dynamic-retrieval-of.html
public Map <String, Schema.SObjectType> schemaMap = Schema.getGlobalDescribe();
Map<String, Schema.SObjectType> globalObjMap = Schema.getGlobalDescribe();
API v35.0 won't be a reason for the issue you are facing. There may be some other reason.