You need to sign in to do that
Don't have an account?

Creating a CLone functionalities
Hi, I need help to create a clone functionalities on account. Bascially the clone should clone some field. Can we do it with Onclick Javascript? My Visualforce skills in not good. Or if you give me a starting point, I will try to create a clone button. THere are many blogs on this but I didn't find a simple one.
Any help will be really appreciated.
Thanks
AB.
Assign that clone button as detailpage button and write the functionalities in executejavascript and call the apexclass through that custombutton............then u get the output.............
AB,
Onclick Javascript is the best solution for this. In the onClick call a javascript function. In that function write the following code
Hope this helps you out.
Regards
Raja
Hi, This didn't work. But I used another URL to clone the account and it is working.
Raja I need advice, With requirements at my company, I need create a button where info from acount and contact has to flow back and should create a lead. To elaborate. I had a lead "X". X was convereted to accounts and contacts and they are doing business with us. Now, they want to use some other product. So, from account, I should pull info like phone, email, name from contact and pass these values and create a lead.
I hope you understand what I mean. DO you have any idea how to do that. Any code.
Thanks
AB.