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
Pankaj_KatharPankaj_Kathar 

Can we make a (exact) clone of Standard Object?

Hi,

Can we make (an exact) clone of Standard Object? How easy it is?

Thanks,
Pankaj Kathar
RKSalesforceRKSalesforce
Hi Shani,

This is a simple thing to do.
You can use below link for your reference: http://blog.jeffdouglas.com/2009/11/19/apex-deep-clone-controller/

Please let me know if helped.

Regards,
Ramakant
Pankaj_KatharPankaj_Kathar
Hi Ramakant - I was wondering if there is any easiest option like right click and clone the standard object... anything like this? 

 
RKSalesforceRKSalesforce
Hi Shani,

Lets take contact as a standard. On Contact there is Clone Button but it will not clone related lists.
User-added image

Please let me know if helped.

Regards,
Ramakant
Pankaj_KatharPankaj_Kathar
Hey Ramakant,

I think you misread me, I wanted to clone the Standard object and not its associated data records. I read through few articles and it seems there is no straight way of doing it.

It can be done through eclipse but i saw it for Custom object they did it for. I am still checking any clean article where the clonning object concept clearly explained.

Anyways, thanks for taking time to reply.