How to change API version of Lightning Component Salesforce



In this article you will learn how you can change API version of Lightning Component Salesforce.

If you ever struggled to update the API version of your Lightning Component, then we are in the same team.

I was also struggling with the same issue but couldn't find any configuration to update the API version of a lightning component.

Finally after surfing a little more I found out a SOQL query to modify the API version of a Lightning Component.

Please follow below steps : 

  1. Open Developer Console.
  2. In query editor type below query : 
  3. SELECT Id, DeveloperName, ApiVersion, Description FROM AuraDefinitionBundle WHERE DeveloperName = "<Your Component name>"
  4. In the result you will be able to see that particular component.
  5. Update the API version by editing the row.
  6. Click on save rows button to save the changes.

 
If you have any question please leave a comment below.
If you would like to add something to this post please leave a comment below.
Share this blog with your friends if you find it helpful somehow !

Thanks
Keep Coding 


Post a Comment

2 Comments