function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
neshnesh 

Please give your knowledge here-How to create custom clone button

Hi, I want to create a CUSTOM clone button which will clone the record in edit mode and user want can change some value and save the record.pease help me.

JK84JK84

Hi,

 

The standard clone button in the detail page does allow the user to change/edit values in the fields when clicked before saving the record. So, could you give more details on why a custom clone button is being envisaged or the additional functionality needed.

 

Thanks

JK

 

Ashish_SFDCAshish_SFDC

Hi Nesh, 

 

You may have to create a Visualforce page that loads instead of the standard Clone page. 

You will have to override the standard clone button functionality and create a VF page. 

See the below links for more information, 

https://success.salesforce.com/answers?id=90630000000h3B0AAI

https://help.salesforce.com/apex/HTViewSolution?urlname=Visual-Force-Cloning-1327109086289&language=en_US

http://boards.developerforce.com/t5/Visualforce-Development/How-to-override-Clone-button/td-p/149029

http://www.interactiveties.com/blog/2011/clone-records.php

 

Regards,

Ashish

William Turner 8William Turner 8
The page: http://boards.developerforce.com/t5/Visualforce-Development/How-to-override-Clone-button/td-p/149029 - doesn't exist anymore, can anyone update this thread - either provide a new link or supply the content?