如何更新SharePoint内容类型?

Jef*_*eff 6 deployment sharepoint

我需要通过向内容类型添加新字段来更新现有SharePoint内容类型.我需要确保将此字段添加到使用此内容类型的所有列表中.

Geo*_*rzi 9

如果您的内容类型是使用功能创建的,据我所知,您无法升级功能以将新列添加到内容类型.

这有两个选择:

  1. 在UI中执行此操作
  2. 使用SharePoint对象模型以编程方式执行此操作

这是做选项#2的一个例子:http://blogs.msdn.com/nidhishd/archive/2008/05/06/how-to-modify-content-type-once-it-is-deployed.aspx