Contents
List common use cases for JavaScript custom buttons. We know that you love JavaScript buttons and have been using them in Salesforce Classic for years. In fact, you might be reluctant to migrate to Lightning Experience because JavaScript buttons aren’t supported.
What do you need to know about lightning?
Lightning Component Library Lightning Design System Apex Lightning Aura Components APIs All Documentation Learn Trailhead Certification Sample Gallery Podcast Video Gallery Events and Webinars Tools Community Forums Success Stories Developer Groups Partners Blog COVID-19 Work.com Trailhead Resources
What are the benefits of lightning in Salesforce?
One of the coolest benefits of Lightning Experience is that you can add your custom Lightning components to record, Home, and other pages. For example, you might choose to add a map component to your Account record pages. Or, you could provide a component for your AppExchange app that can be added to the Home page or an Opportunity record.
Where can I find the Lightning Component Library?
Lightning Apps Lightning Flow Marketing Cloud Mobile Developer Center Mulesoft Developer Center Pardot Developer Center Quip Developer Center Salesforce DX Security Service Cloud Docs Lightning Component Library
Lightning was built from the ground up to deliver the most secure experience possible with technologies such as LockerService. We want to ensure the continued integrity of this security model and as a result will not be supporting OnClick JavaScript buttons in Lightning.
What are JavaScript buttons and links in Salesforce?
JavaScript buttons and links are types of actions in the Salesforce Classic UI that let you create inline JavaScript code that can be invoked via a button or link embedded on a record or list page. For example, maybe you prepopulate new records with data upon creation and update values in fields based on other logic.
Describe how to use custom URL buttons to fulfill the same navigation and redirect functionality as JavaScript buttons. Use a Visualforce custom button instead of a JavaScript button to work with multiple records in lists. You Have Buttons? We Have Alternatives