Salesforce: Lightning Component Template for Custom Javascript Button

Lightning Component Template

Is the effort of replacing the custom button- especially the javascript button- the reason you are delaying to convert your Salesforce Instance from Classic to Lightning? Most people would recommend going with the basics, which is to use the global action or custom action to create/update records. What happens if you need a more complex logic that can only be solved by a custom lightning component which requires coding?


Don’t worry.


The Salesforce team have released a set of lightning component templates that can be deployed/installed in your instance. The templates are a working example and can be used as a quick start to help you to develop a new lightning component to replace your custom button.



Interested in the templates? You can:


Still having doubts? You can refer to the official documentation with complete instruction on how to apply and customize the template to suit your needs.