Search code examples
dynamics-crmdynamics-crm-2013dynamics-crm-onlinedynamics-crm-2015

How to create upgrade version of existing project in Microsoft Dynamic CRM?


I have create a small plug in and I have released it with version 1.0.0. Now I want to add some advance functionality in it and release again with Version 1.1.0. I am beginner of Microsoft Dynamic CRM. I don't know how to keep existing data.

I have tried by following.

1- I have created Managed Plugin and released 1.0.0.
2- Now I have added few new functionalities and released new version 1.1.0.
3- I have removed older version 1.0.0 from CRM Account and added new version 1.1.0. 

But when user import new version 1.1.0, the old data of version 1.0.0 lost. I want to keep all existing data when user add newer version.

Can anybody suggest me steps or link about how to manage?


Solution

  • If you've published your customizations as a Managed solution (which, from your comments you have), and you deleted the managed solution from your CRM environment, then any entities included in that solution have been deleted from your CRM environment, including all the data included.

    This is by design for managed solutions.

    The only way you will get that data back is via backup-recovery if you have backups in place.


    Update

    Some additional links from Microsoft about solution versioning: