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
hcri50hcri50 

How do I clone a custom object?

I have a custom object that I would like to clone. Everything is identical except for a few selection from the Picklist.

How can I clone the object?

 

hemantgarghemantgarg

You can clone using standard clone button as well as from the apex api, There is a clnoe function in sobject that is used for creating clone. Please search it in documentation.