You need to sign in to do that
Don't have an account?
Mimic the standard clone button with a onclick javascript custom button
Is this possible
Mimic the standard clone button with a onclick javascript custom button
I know I can do with with controller extension, but trying to avoid having to create the page using visualforce e.t.c
Thanks
Yes it is possible. I have tried it in the past but code is not in java script though.
Replace Opportunity with your object's API name.
Found this code suggested by someone when I searched for something similar - clone without using controller.
Thanks for the response - I can run this without visualforce though?
Sorry I didn't read your post correctly. This code works on VF page :(
adding custom button in a standard page there is a option that it can return url after click right?
Yes there is a way to redirect to a url. Actually that's a good point. I can create varibles of all the existing values I want in the new rrecord, then redirect and set...
Thanks all - I think I know how to do it now.
hi mike.. i hope you post it here your solution might be helpful to us someday thanks