我可以使用Visual Studio更新共享点列表但保留数据吗? [英] Can I use Visual Studio to update a Sharepoint List but keep data?

查看:100
本文介绍了我可以使用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


这篇关于我可以使用Visual Studio更新共享点列表但保留数据吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆