locked
Adding a new field with same name in different environments RRS feed

  • Question

  • Hi all,

    Normally I create all new entities and fields in Development, export those entities and then import them into my UAT environment. What happens if I create a new field in UAT and Development, export the customisations for that entity from DEV and import it in UAT?

    From memory I think I get an error when importing as the system will say that the attibute already exists with a different GUID. Is there any way around this or do I have to delete the field in UAT before doing the import? What happens if I already have data in that field?

    Stanley

    Wednesday, September 15, 2010 11:26 PM

Answers

  • Hi,

    Before you import the customization you should compare both environment entities. Here is a MS tool "ISV Utilities for Comparing Customizations and Transferring Configuration Data".

    The Customization Comparison Utility lets you compare the customization files between two Microsoft Dynamics CRM systems and the Configuration Data Utility lets you transfer custom configuration data from one Microsoft Dynamics CRM system to another.

    You can download it from here
    http://msdn.microsoft.com/en-us/library/dd442453.aspx

    Hope this helps.


    Thanks, Ranjitsingh R | http://mscrm-developer.blogspot.com/ | MS CRM Consultant
    • Proposed as answer by Ranjitsingh R Thursday, September 16, 2010 7:12 PM
    • Marked as answer by Jim Glass Jr Thursday, September 16, 2010 9:11 PM
    Thursday, September 16, 2010 7:12 PM

All replies

  • Hi Stanley,

    Correct - you get an error.  A quick workaround is to edit your exported .xml file and delete the field that already exists.  This is often quicker then physically deleting the field and there is no data loss.


    Alex Fagundes - www.PowerObjects.com
    Thursday, September 16, 2010 12:30 PM
  • Hi,

    Before you import the customization you should compare both environment entities. Here is a MS tool "ISV Utilities for Comparing Customizations and Transferring Configuration Data".

    The Customization Comparison Utility lets you compare the customization files between two Microsoft Dynamics CRM systems and the Configuration Data Utility lets you transfer custom configuration data from one Microsoft Dynamics CRM system to another.

    You can download it from here
    http://msdn.microsoft.com/en-us/library/dd442453.aspx

    Hope this helps.


    Thanks, Ranjitsingh R | http://mscrm-developer.blogspot.com/ | MS CRM Consultant
    • Proposed as answer by Ranjitsingh R Thursday, September 16, 2010 7:12 PM
    • Marked as answer by Jim Glass Jr Thursday, September 16, 2010 9:11 PM
    Thursday, September 16, 2010 7:12 PM