I have created two list from Visual studio and after deployment I added data into these lists(accessed from URL address addInName/List/(listname)).

After second deployment list loose the data... How to solve this problem? I create this lists in RootWeb(Site Collection) ?

Thank U!

  • can you please let me know What do you mean to say by second deployment ? – Rohit Waghela Jan 12 '17 at 13:58
  • next deployment – Goshky Jan 12 '17 at 14:33

It will overwrite the data and list once you deploy with visual studio. To persist your data you need to publish the add in as .app file with next version and upgrade the existing installed app with that published app.it will upgrade the installed app and will not remove the data from list.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.