Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Dynamics CRM 4.0: Moving Customizations

Posted on 2011-02-18
Medium Priority
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.
Question by:apollo7
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
  • 2
  • 2

Accepted Solution

stacko111 earned 1000 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.
LVL 27

Assisted Solution

by:Chinmay Patel
Chinmay Patel earned 1000 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.


Author Comment

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.
LVL 27

Expert Comment

by:Chinmay Patel
ID: 34927425
:) Yes.. Exactly...

Author Closing Comment

ID: 34951066
Thanks for the help.

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

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!!!
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…

610 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