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
Teach_me_howTeach_me_how 

How to exclude certain field values upon cloning record?

what is the best way to exclude certain field to autopopulate value upon cloning of record? Using the standard clone botton

sandeep@Salesforcesandeep@Salesforce

You will get help from here 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_SObject.htm

 

Please scrol down to get clone method

Teach_me_howTeach_me_how

Im using standard clone button on standard page. I did not create any custom clone

sandeep@Salesforcesandeep@Salesforce

In case of standard button you can not control of picking and leaving some field for cloning. 

Christina PeschongChristina Peschong
Did this happen to become possible in Lightening?
 
Michelle RoesemannMichelle Roesemann
Hello.  I'm having a similar issue.  Been trying to create a URL custom button to clone a Quote record excluding certian fields.  The record clones but does not blank out the fields I specify.  Any help wouyld be appreciated.  

Here is my URL string:

/{!Quote.Id}/e?clone=1&retURL=/{!Quote.Id}&Grid_Guarantee_Fee=&Guaranty_Fee=&Service_Fee=&Investor=&Index=&Rate_Comments=&All_In_Rate=&Grid_Guarantee_Fee=&Grid_Service_fee=/