+ Start a Discussion
System Admin 949System Admin 949 

Creating the Clone Button using Lightning Components

Hi All,
I am new to the Lightning Components,can any one provide the sample  code for creating the custom clonebutton for Quote object.
how to learn the lightning components deeply,can any one provide the lightning blogs.
thanks in advance
Bhargavi TunuguntlaBhargavi Tunuguntla
Hii

Please refer the below link this will be useful :

https://help.salesforce.com/articleView?id=000269050&language=en_US&type=1

This is for clone button in Lightning component.

Thanks
Bhargavi.

 
Raj VakatiRaj Vakati
Refer this link for sample code

https://github.com/sfcure/CloneOpp

https://github.com/marthacarolina/Sandbox/commit/75b24902def2bb48739c43f87b73610e999c2b47
ministe2003ministe2003
Based on Naval Sharma's CloneOpp component, I've written my own which is similar except opens the opportunity edit page before cloning, and allow other opportunity line item fields to be editable in the table before cloning the lines.  It hasn't been tested outside of our own org but I hope it helps someone:
https://github.com/ministe2003/cloneOppWithProducts