简体   繁体   English

Sharepoint2010。部署后所有列表项均消失

[英]Sharepoint 2010. All list items disappeared after deployment

I have list definition in my solution. 我的解决方案中有列表定义。 But after each deployment items from this list disappead! 但是在此列表中的每个部署项之后都不见了! Customer typed more than one hundred items why thay removed by deployment of same list? 客户键入了一百多个项目,为什么通过部署相同的列表将其删除? How to change properties of list definition to leave items? 如何更改列表定义的属性以保留项目?

In VS you can set the DeploymentConflict Resolution to Prompt, none or automatic. 在VS中,可以将DeploymentConflict Resolution设置为Prompt,无或自动。

But if you change your list, you will have to overwrite the existing list to deploy your changes. 但是,如果您更改列表,则必须覆盖现有列表才能部署更改。 How will the deployment process know how to remap yhour fields? 部署过程将如何知道如何重新映射yhour字段?

You can export, deploy and import. 您可以导出,部署和导入。

If you did not make any changes, set the resolution as required 如果未进行任何更改,请根据需要设置分辨率

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM