I am unable to get the schema of the Lead object using:
Schema.getGlobalDescribe().get('Lead')
this is returning null.
I did not have any problem while getting the schema of Account or Contact.
In my dev environment I DO got success to get the Lead schema, but no luck on the production environment.
Any advice?
Thanks.