Is it possible to change a managed entity to unmanaged?

Proposed Is it possible to change a managed entity to unmanaged?

  • venerdì 20 luglio 2012 12:42
     
     

    Hi,

    I've a global optionset "region" in unmanaged state on Dev Server.

    I've then added this option set to a solution in Dev Server and exported the solution as Managed solution.

    This global optionset "region" already existed in a unmanaged state in test server.

    But after exporting solution from dev server and importing it into Test Server, containing this option set i.e. "region" in a managed solution, has caused this option set to become managed in Test server.

    How can I roll back this change i.e change state of global optionset to unmanaged considering the following scenario:-

    1."region" optionset is availiable on contact entity form in Test Server and we've 5000+ contacts in Test Server

    2.I tried to uninstall the managed solution but it didn't allowed me to unistall as it's component global optionset "region" is present on contact form.

    3.So the next approach would be to delete any dependency of this optionset from contact entity and deleteing it from contact form and removing relationships from contact entity.

    3.But,I can't even delete optionset "region" from contact form as it is present for 5000+ records and data will get lost.

    Please guys help me out as I'm facing this very critical issue with a stringent timeline to resolve it.

    Regards,

    Sumit Sah.

    Email:sumit.sah@synechron.com

Tutte le risposte

  • venerdì 20 luglio 2012 12:44
     
     

    Hi,

    I've a global optionset "region" in unmanaged state on Dev Server.

    I've then added this option set to a solution in Dev Server and exported the solution as Managed solution.

    This global optionset "region" already existed in a unmanaged state in test server.

    But after exporting solution from dev server and importing it into Test Server, containing this option set i.e. "region" in a managed solution, has caused this option set to become managed in Test server.

    How can I roll back this change i.e change state of global optionset to unmanaged considering the following scenario:-

    1."region" optionset is availiable on contact entity form in Test Server and we've 5000+ contacts in Test Server

    2.I tried to uninstall the managed solution but it didn't allowed me to unistall as it's component global optionset "region" is present on contact form.

    3.So the next approach would be to delete any dependency of this optionset from contact entity and deleteing it from contact form and removing relationships from contact entity.

    3.But,I can't even delete optionset "region" from contact form as it is present for 5000+ records and data will get lost.

     

    Please guys help me out as I'm facing this very critical issue with a stringent timeline to resolve it.

     

    Regards,

    Sumit Sah.

    Email:sumit.sah@synechron.com

  • venerdì 20 luglio 2012 12:47
    Moderatore
     
     
    Please don't create duplicated threads!

    Microsoft CRM Freelancer

    My blog (english)
    Мой блог (русскоязычный)
    Follow Andriy on Twitter

  • venerdì 20 luglio 2012 12:53
     
     Risposta suggerita

    I would suggest create a new option set for contact entity. Make sure it has same options as your existing optionset.

    Now copy the value from the existing optionset to this new field. You can use custom code, workflow to copy the values. The other way to copy these values will be to export all the contacts so you can import them back. Now copy the values as suggested before and import the modified data back into the system.

    Now remove the managed field from the contact and uninstall the managed solution.

    I hope this helps. 


    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". Amreek Singh Senior CRM Consultant CDC Praxa Sydney, Australia http://mscrmshop.blogspot.com http://crm2011usersettings.codeplex.com

    • Proposto come risposta Amreek Singh venerdì 20 luglio 2012 12:54
    •