function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Satyananda YeluriSatyananda Yeluri 

Lightning Action - Advice

Hi,

  I am new to lightning actions / development. Can you please advise how do we make the below case into lightning action.

Case: The custom JS buuton has some code which talks to salesforce thorugh API call and updates a record when user clicks on the button.

If I create lightning component and add it to lightning action, it displays the empty component and close mark. I wanted it to happen everything when the action is fired and redirect to record page. 

Appreciate your help. Thanks