Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2009-04-08
5
2,186 Views
Last Modified: 2012-05-06
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!

Thanks
0
Comment
Question by:jedibozz
  • 3
  • 2
5 Comments
 
LVL 11

Expert Comment

by:rakeshAgarwal
ID: 24097676
hi
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

Javacsript

http://mscrm4ever.blogspot.com/2008/06/cloning-entity-using-javascript.html

You can also contact us ra@mtccrm.com

regards
Rakesh Agarwal
www.mtccrm.com - www.dynamicsexchange.com 
0
 

Author Comment

by:jedibozz
ID: 24100853
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.

Thanks
0
 
LVL 11

Accepted Solution

by:
rakeshAgarwal earned 500 total points
ID: 24107153
No  

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 .


Regards
Rakesh Agarwal
0
 
LVL 11

Expert Comment

by:rakeshAgarwal
ID: 24107173
Meta data SDK is easier way to do this but you need to write code.

Regards
Rakesh Agarwal
www.dynamicsexchange.com  - www.mtccrm.com
0
 

Author Closing Comment

by:jedibozz
ID: 31568020
Thanks for the help...doing this the long way...no time to learn...just time to bash things in.  /:(
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question