I have a "Create Record" button on a Lightning list view. It creates the record in the custom object when the user hits Save and then puts the user on a view of the newly created record. Instead of this, I would like the user returned to the List View where the button was called. We have Salesforce Professional.

  • what kind of button it is? Can you add more details about the button you have? Nov 11, 2020 at 9:01
  • The button was created by going to my custom object in Lightning and selecting Buttons/Links/Actions. I then chose New Button/Link. I selected List button and gave the button a link, label, description. I selected URL as the button Content Source and "Display in existing window with sidebar." I then added the button to the Classic Search default list view. The URL that I used is the one that comes up when I click New on the custom object's List View. Nov 11, 2020 at 9:58

1 Answer 1


As per comment, You need the Return URL parameter in button URL. A sample example is below:-


If you are working with Lightning URL Hack, below formula will work. It has backgroundContext that works same as Return URL parameter.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .