.ultrageek. Computers, Music, and Thoughts


Mass Edit Button for Lightning Related List

Inline editing is super easy in Salesforce Lightning but not from a related list on a record page. So this is a quick and easy way to without a controller create a VF page that can be used as a button to update a field selected records in a related list. Just flip the object name and fields and you are off to the races. And this example is straight off of the Salesforce site examples but I removed the extension class so that a test class is not necessary.

Mass-Updating Records with a Custom List Controller

StackExchange post: https://salesforce.stackexchange.com/questions/146973/run-a-mass-action-on-multiple-records-in-a-list-view