Skip to main content

Is it possible to get the list of all custom metadata object in my Salesforce org. Refer below snaps this is for objects and I am looking for the Custom Metadata Object.How to get the all the Custom Metadata object in Salesforce Org?

 

#Trailhead Challenges

4 answers
  1. Nov 22, 2023, 9:09 AM

    Hello @Abhishek Kumar Singh,

     

    Yes , It is possible to get the list of all custom metadata object in your Salesforce org.

     

    Try this SOQL Query :

    SELECT Label,QualifiedApiName from EntityDefinition Where QualifiedApiName LIKE '%__mdt%'
Loading
0/9000