Solved

Dynamics CRM 4.0: Moving Customizations

Posted on 2011-02-18
5
787 Views
Last Modified: 2012-05-11
We have a number of orgs (testing, training, production, development, etc).  When I make a change in one, I normally move it to another manually (e.g. add a field in testing, recreate that field in training).

My problem is that I made a significant number of changes in testing and wanted to move them in a more automated way to training.  To do this, I exported the customizations from testing (changes to the order) and imported them into the training org.

The import into training would not publish (gave a blue Microsoft error). I decided to restore the  backup of the order customizations I made before trying the import and that would not publish either (same error).  

After looking at the properties of the order entity in both orgs, I saw that there differences in the relationships and attributes. I added some relationships and then was able to roll back to the original order. I have not retried importing the customizations from testing (until I figure out what else I need to do).

So, are there more steps to moving customizations to another org than just exporting the customizations and then importing them into the other organization?  The customizations are nothing exotic -  added fields, added code to onchange, onload and added relationships.

Thanks for the help.
0
Comment
Question by:apollo7
  • 2
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
stacko111 earned 250 total points
ID: 34926942
I haven't done this myself so can only advise theoretically. When you export the customizations XML file it will have references to the Organisation it was exported from.

If you change all references in the XML file (you can do this by doing a find and replace in a text editor) from the previous Organisation name to the new Organisation name then I don't see why it wouldn't import.

Obviously both Organisations would need to be exactly the same to avoid any errors.
0
 
LVL 27

Assisted Solution

by:Chinmay Patel
Chinmay Patel earned 250 total points
ID: 34927220
Hi apollo7,

Only one thing I would like to say... even if it's just one field.. .always export from source n import at destination to avoid such issues. What would have happened in your case is, somehow it would have gone out of sync and 'cause of data type mismatch or a missing attribute import would have failed. Always do import/export process also there are ways you can automate it i.e. you go to a webpage or a windows application.. select your source CRM Server and select your target CRM Server[involved custom coding though] and it will take care of everything else. As long as you are not changing anything manually on target servers things will work just fine[in most of the cases, in case of any other issues from SQL timeout or other issues like datatype change you might have to do some manual changes].

Let me know if you need more explanation on the same.

Regards,
Chinmay
0
 
LVL 1

Author Comment

by:apollo7
ID: 34927313
Thanks guys - this is very helpful.

Chinmay, it sounds like my "method" of adding individual changes probably caused my problem when I tried to use export/import (by creating an out of sync condition between the org entities)

Oh well, this is how we learn - lol.
0
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 34927425
:) Yes.. Exactly...
0
 
LVL 1

Author Closing Comment

by:apollo7
ID: 34951066
Thanks for the help.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now