我可以使用Visual Studio更新共享点列表但保留数据吗?

问题描述:

我取消了一个包含2列的列表:标题"和正文".然后,我想添加新列或更改某些内容并再次将其取消部署.我可以部署新列表但保留旧数据吗?

您可以使用功能升级选项来更新已部署为解决方案的现有列表.如果您已将清单部署为 服务器端WSP ,您可以点击以下链接更新列表并保留数据:

You can use the feature upgrade option to update the existing list which is already deployed as a solution. If you have deployed the list as a Server side WSP, you can follow the below link to update the list and retain the data :

http://www.sharepointnutsandbolts.com/2010/06/feature -upgrade-part-1-fundamentals.html

如果您已将列表部署为 SharePoint托管加载项,则可以使用以下我写的文章来更新已部署的解决方案并保留数据:

If you have deployed the list as a SharePoint Hosted Add-in , You can use follow the below article I have written to update the already deployed solution and retain the data:

http://www.c-sharpcorner. com/article/upgrade-sharepoint-hosted-add-insapps-in-sharepoint-2013/

如果您已使用SharePoint Framework部署了列表,则可以按照下面的文章升级解决方案以添加新的列表列或列表本身

In case you have deployed the list using SharePoint Framework, you can follow the below article to upgrade the solution to add new list column or a list itself

http://www.c-sharpcorner. com/article/upgrade-the-sharepoint-framework-solution-using-upgrade-actions/ 此致

Priyan