How to rename Lightning component

We can run below query in developer console query editor. It will return all the aura component name in DeveloperName column.


SELECT Id, DeveloperName, MasterLabel FROM AuraDefinitionBundle

Now we can edit Developer Name, MasterLabel and save it.

It will reflect all the place wherever the component is used. If you are using the component in controller and helper, It will reflect there also.

Permanent link to this article: https://salesforcebuddy.com/2020/01/how-to-rename-lightning-component/

Leave a Reply

Your email address will not be published.