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

How to create custom clone button -


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.Please give your knowledge here

Karthik SalesforceKarthik Salesforce

Hi ,

Please find the below link





Hi Nesh,


You can create a clone button by creating a custom button and conten source as Visualforce page. You can create a controller to access all the fields of the object and provide those details as new Record data.


Please check the following links also, It might help you on the creation of custom button.


Please mark my answer as a solution if this works for you. If this post is helpful please throw Kudos


Salesforce Certified Developer


sekar Raj 11sekar Raj 11
Here is the amazing blog which is clearly explaining the Custom button creation and values mapping. (" target="_blank)