You need to sign in to do that
Don't have an account?
Vishnu7700
How to get object and feild API names in org
Hi,
Is there any way to get list of all object and feild API names in org.
Ideas are appricated.....
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Hi,
Is there any way to get list of all object and feild API names in org.
Ideas are appricated.....
Hi Vishnu ,
It can be done by describeSObjects method in apex code
Hi Varun,
Can you please provide code sample
Hi Just put the following line in debug Log:
Map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();
System.debug(gd);
It will return all the Object
Hi vishnu,
Use the Schema getGlobalDescribe method to return a map that represents the relationship between all sObject names (keys) to sObject tokens (values). For example:
==> Map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe();