Get the List of Lightning Components from a Salesforce Org

We can write SOQL query on AuraDefinitionBundle object to get all Lightning Component Bundles from an Org.

Sample SOQL:

SELECT ApiVersion,CreatedDate,DeveloperName,MasterLabel,NamespacePrefix FROM AuraDefinitionBundle

  • Dipanjan Das

    Thanks for this post Biswajeet, for getting LWC components is it possible without using tooling API?