Support Ukraine 🇺🇦 Help Provide Humanitarian Aid to Ukraine.
For Developers

Lightning and JavaScript Buttons

1 min read
Desk Recline

Lightning is coming. You have played around with the new User interface, made some reports, and tested out your customizations. When Lightning was released a year ago, it was slow and it was missing things. A year later they have addressed a lot of the issues, sped things up, and now its looking pretty good!

Trailhead

Luckily for us, with all of the updates, we can stay current with Trailhead. Salesforce has been diligently crafting content that not only tells the User what is coming, it also walks you through use cases so you can really absorb it.

Today I was trying to find the best way to replace JavaScript Buttons. Salesforce has clearly signaled they are on their way out, which is rough for anyone who populated pages with data for their users. It won’t work in Lightning, it won’t work in Console. Now we have Quick Actions and Lightning Components. They work and they are easy.

Lightning Components

To get your bearings, you can go to Trailhead: JavaScript Button Migration to see how the migration works and an awesome example of the new functionality in Lightning.

Trailhead walks you through the example of using a modal to update a related record. This might not seem amazing, there are little edit modals for everything, but what this example shows you is that you can stay on the same page to update common fields on a related record. Time and again I talk to Users who want to update the Account from a Contact after a call. Now, with a Quick Action, you an edit the Account directly from the Contact avoiding the reload time and confusion of switching between records.


About CloudAnswers

Salesforce apps, powerful components, custom development, and consulting. Our experienced team helps you to create and modify workflow processes in salesforce.

Related Articles

For Everyone

Why use Report Sender?

Salesforce reporting has limitations — especially when it comes to getting reports into the right hands. Report Sender enhances scheduling, adds dynamic filtering, and extends delivery to external users, making your reporting process faster and more flexible.

Ian Cosgrove

4 min read

Discover more from CloudAnswers

Subscribe now to keep reading and get access to the full archive.

Continue reading