You need to sign in to do that
Don't have an account?
Vasundhara Velgoti 4
clone a object using custom button on visualforce page
I have an object "A" . I have custom button ( clone) on Visualforce page vf1. When i click on clone i am able to clone the Object A . Can anyone suggest me best way to achieve this?
You can approach different methods to clone the records.
Easy way is URL hacking. You can copy the link from the address bar after clicking CLONE button from another OEM salesforce page, and then modifiyng it to work in your application.
You can also write Custom Controller for this functionality. Please find below link for an example:
https://developer.salesforce.com/forums/?id=906F0000000BWMkIAO
Let us know if thate helps you.
Best Regards,
BALAJI