Tuesday, February 11, 2014

Deploying List Definition with Instance without losing old Data - Sharepoint 2013

If you have a sharepoint list instance in a sharepoint 2013 site with lot of data in it. This instance has been created using a custom List Definition.

If you retract and deploy your solution it'll delete the current instance of the list that has your records.
How can you deploy the List definition without losing old data?

In my case my custom list is lstSimpleRegister
and the instance is lstSimpleRegisterInstance

To resolve this problem you can change the Deployment conflict resolution property to : None
See below :

No comments:

Post a Comment