My requirement was to fetch few metadata in the Salesforce org like fields. Objet info, validation rule, workflow rule etc. Although Schema.describeSObjects can fetch you some of the metatda, you can’t fetch all types of metadata. I found out that, we can make use of MetadataService class to fetch almost everything. Sample Screenshots of the Application How you use MetadataService class? 1. Open this link - https://github.com/financialforcedev/apex-mdapi/tree/master/apex-mdapi/src/classes 2. Create classes named MetadataService.cls and MetadataServiceTesr.cls by copying the code from the above link. Paste it in the target sandbox where you want to use it. 3. That’s all !!! All you have to do is making use of the methods on the MetadataService.cls to get the metadata that you want. Below is the sample code to fetch Validation Rules information. @AuraEnabled public static List<Validation> getvalidation(String currentobj) {