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
sushmaiyer2@gmail.comsushmaiyer2@gmail.com 

How to Create Custom Button for Copying data from Custom Object to Standard Object?

 

Hi All,

I have a Requirement to Create a Custom Button on record detail page for Copying data from Custom Object with some Record Type to create a record on a Standard Object with Record Type and Map their fields?




 

souvik9086souvik9086

Yes you can do that using custom button.

Go to New Button or Link -

Content Source - Visualforce Page

 

Then write your logic of assigning the current custom object records to the respective fields of standard object along with recordtype in the Controller of the page.

 

If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.

Thanks