Solved

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

Posted on 2009-04-08
5
2,189 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:Larry Trimble
[X]
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
  • 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:Larry Trimble
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:Larry Trimble
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

For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

739 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