如何为以前的数据应用sitecolumn默认值 [英] how to apply the sitecolumn default value for previous data

查看:102
本文介绍了如何为以前的数据应用sitecolumn默认值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的要求是我有一个文档库,已经有10,000条记录,我已经将内容区域设置为该lib,现在我在该库中添加了一个站点列. 站点"列包含与库中所有文档相同的默认值.
我想将该默认值应用于该库中的所有记录,意味着已存在和新添加的记录.


谁能帮助我在sharePoint 2010中实现这一目标.

非常感谢您....

Hi,

My Requirement is i have a document library,which has 10,000 records already i set content area to that lib,now i added one site column to that library. site column contains the default value which is same for all the documents in the library.
I want apply that default value to all the records in that library means to already existed and newly added records.


Can Any One Help me to achieve this in sharePoint 2010.

Thank u so much....

推荐答案

您应该将SiteColumn添加到与文档库关联的ContentType中,否则需要将值添加到每个ListItem中因为它们是在将SiteColumn添加到列表之前创建和存储的.
You should add the SiteColumn to the ContentType associated with the Document Library, otherwise you will need to add the value to each ListItem since they were created and stored prior to adding the SiteColumn to the list


这篇关于如何为以前的数据应用sitecolumn默认值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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