How to query Lightning Components Using SOQL

Sharing is Caring

One of the most beautiful things of the Salesforce platform is that almost everything can be queried. Lightning components can be queried pretty easily.

Lightning components (aura) can be queried using the AuraDefinitionBundle SObject. For example:

 SELECT Id, DeveloperName FROM AuraDefinitionBundle

Sharing is Caring

Brian is a programmer and technology leader living in Niagara Falls with more than ten years of development experience. He is passionate about automation, business process re-engineering, and building a better tomorrow.

Brian is a proud father of four: two boys, and two girls and has been happily married to Crystal for more than ten years. From time to time, Brian may post about his faith, his family, and definitely about technology.