Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. Map<String,Schema.SObjectType> gd;
  2. gd = Schema.getGlobalDescribe();
  3. for(string sObj : gd.keyset()) {
  4. Schema.DescribeSObjectResult r = gd.get(sObj).getDescribe();
  5. system.debug('######'+r.getName());
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement