Friday, 1 December 2017

Quick Action to Update a Record in Lightning Experience (Alternative to Custom Button in Salesforce Classic)

In this example I going to explain about create a custom action by overriding it with 'Lightning Component Bundle'.

Create the Apex Class to update the Contact -

Create the following Lightning Bundle -
Steps to Create Quick Action -



after saving add to the Lightning Quick Actions in Contact Page layout as shown below -

after saving if you switch to lightning experience you should be able to see as shown below -




as per the above screenshot level is blank, upon clicking on "Update Contact" Action it will be updated to Primary.


Close the above window and refresh the page you should see contact "Level" as "Primary".

No comments:

Post a Comment