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
Kimberly AronsonKimberly Aronson 

How do I create a custom button that will save and close the record I am in?

I want to try and create a button that will save the record I am in and then close it. Is this feasible and if so how would I accommplish such a task? I am not very savy with coding so the more details/ explaination/ instruction the better. 
 
Ravi Dutt SharmaRavi Dutt Sharma
More details please? Are you in Aloha UI or LEX? Where do you want the button to be displayed? Is it on the standard page or a custom page or a custom lightning component?
Kimberly AronsonKimberly Aronson
Lightening experience and I want it to be displayed on teh custom page next to the save button that is there now.