• Naresh j 9
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hello Friends,
 
My requirement is that, i need to display org metadata components (like objecta,apex classes, vf pages, record types, profiles, permisstion sets ...etc) on my VF page.

here i know i am able to petch objects metadata through Schema , but how to petch remaing metadata componets?Can you please let me know where i am going petch metadata and display my vf page.

public List<SelectOption> getName(){
  List<Schema.SObjectType> gd = Schema.getGlobalDescribe().Values();     
  List<SelectOption> options = new List<SelectOption>();
for(Schema.SObjectType f : gd)
  {
    options.add(new SelectOption(f.getDescribe().getLabel(),f.getDescribe().getLabel()));
 }
 return options;
 }

Any help/guidance would be highly appreciated!!
 
Many Thanks,
Naresh j