In Microsoft Dynamics CRM 4.0, is there any way to easily copy an entity?

In Microsoft Dynamics CRM 4.0, is there any way to easily copy an entity?  I have a quite complex entity with many attributes and links to other "lookup" type entities.  I need to make multiple copies of this main entitiy where the copies have many of the same attributes, with a few additions, deletions here and there, variances in form layout, etc.

I spent two days manually making a single copy of my main entity.  There's got to be an easier way!

Larry TrimbleAsked:
Who is Participating?
rakeshAgarwalConnect With a Mentor Commented:

But you can try it out by exporting xml and changing new_testentity1 to new_testentity2 and then change the relationship names also.

Note: I have never tried this. This is an idea.

You can also refer Metdata sdk for this .

Rakesh Agarwal
There are many way to accomplish this

1.  Write all values in excel sheet and use data migration manager . You can learn data migration manager very easily

If you know SDK
1. Place a button on  the entity called copy and on clicking that  call you sdk code which will copy all the attribute  in to entity


You can also contact us

Rakesh Agarwal - 
Larry TrimbleAuthor Commented:
Thanks Rakesh, but I think my original question may have been unclear.  Maybe this will simplify...

On the Settings/Customization/Customize Entities screen I have created an entity... "Entity A".  "Entity A" has about 350 attributes, 80+ of these are lookups of other entities.

What I need to know:  Can I make a COPY of "Entity A" from the Customize Entities screen.

I understand that I can copy an INSTANCE of Entity A..which is what I think your answer was referring to.

Meta data SDK is easier way to do this but you need to write code.

Rakesh Agarwal  -
Larry TrimbleAuthor Commented:
Thanks for the help...doing this the long time to learn...just time to bash things in.  /:(
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.