
Dynamic Apex In Salesforce
Schema Describe:
Is a way to programmatically learn about
metadata of your datamodel with in Apex.
Schema Describe calls provides the ability to
programitically describe the information about the current org schema such as
list of top level objects including custom objects and their fields.
Map<String,Schema.SobjectType>
gd = Schema.getGlobalDescribe();
We can also use schemaDescribe() to create tree structure of all the objects and
fields in the schema browser, to do this we need to use the codemap
...