Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-04-08
5
Medium Priority
?
2,198 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
  • 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 1500 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

971 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