“刷新” 使用它的列表上的 SharePoint 网站栏定义?

发布于 2024-08-01 17:38:21 字数 177 浏览 6 评论 0原文

我们部署了一项功能,可安装名为“分类”的自定义网站栏。 它是一个选择列类型。 现在,我们需要改变选择。 我们可以很容易地更新该功能中的 XML,但它不会影响任何已使用现有网站栏的列表; 他们仍然看到旧的选择。

有没有办法向使用我们的分类网站栏功能的列表发送刷新信号或其他内容,以使这些列表使用更新的选项?

We deployed a feature that installs a custom site column named "Classification." It is a Choice column type. Now, we need to change the choices. We can update the XML in the feature easily enough, but it doesn't affect any of the lists already used the existing site column; they still see the old choices.

Is there any way to send a refresh signal or something to the lists that use our Classification site column feature to have those lists use the updated choices?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

和影子一齐双人舞 2024-08-08 17:38:21

我认为归档此问题的唯一方法是迭代使用该列的每个列表并更改其中的 XML,因为列表中的列不再引用原始列。

I think the only way to archive this is by iterating each list that uses the column and change the XML there as the column within a list has no reference to the original column any more.

独孤求败 2024-08-08 17:38:21

弗洛说得有道理,我之前一直在研究这个问题,并发表了一篇博客文章,可能会对您有所帮助。 看一下:

http://johanleino.wordpress .com/2009/08/11/传播更新到内容类型/

Flo has a point, and I have previously been working with this issue and have made a blog post that might help you out somewhat. Have a look:

http://johanleino.wordpress.com/2009/08/11/propagating-updates-to-content-types/

西瓜 2024-08-08 17:38:21

SharePoint 可以做到这一点。不要更改您的功能,而是通过 Web UI 修改每个网站集中创建的网站栏。 通过这种方式所做的更改将会传播。
(我希望您没有 10,000 个网站集;)

SharePoint can do this.. Don't change your feature but modify the created site column in each site collection through the web UI. Changes made this way will propagate.
(I hope you don't have 10.000 site collections ;)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文