In classic if we want to send a user to the clone page for an object an easy option would be to build the url manually, i.e. /{id}/e?clone=1. How would one accomplish this in lightning?

For example, if we wanted to create have a page that shows a list of contacts and allow someone to clone a particular one, but don't want to write our own custom clone logic. Or if we wanted to override the standard clone button for some users but continue to use the standard clone functionality for others.

I was expecting there might be a helper method like there is for editing an object $A.get("e.force:editRecord");, but I'm not seeing anything in the clone docs for this.

1 Answer 1


I dont think there is a direct method to do it. With the same requirement I called an APEX @AuraEnabled methoed and used sBoject.Clone and then I used force:createRecord to show the screen. Please see the salesforce documentation for this

  • 1
    nice approach, how'd people like it? Commented Mar 15, 2018 at 18:03

You must log in to answer this question.

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