简体   繁体   English

文档库中缺少SiteColumn

[英]Missing SiteColumn in Document Library

I have a Content Type with a number of Site Columns inside it. 我有一个内容类型,其中包含许多“网站”列。

I added this content type to a Document Library, however, one of the site columns is not appearing. 我将此内容类型添加到文档库中,但是,没有出现站点列之一。

I'm using SharePoint on premise - the site columns and content type should have been properly created as it even works fine for some other document libraries.. I only have the problem, with exactly the same content types, in some document libraries... Can it be fixed without having to re-create document library? 我在内部使用SharePoint –应该正确创建了网站列和内容类型,因为它甚至可以在某些其他文档库中正常工作。.在某些文档库中,内容类型完全相同,我只有这个问题。 。可以在不重新创建文档库的情况下进行修复吗?

I have tried removing and re-adding the column but nothing seems to work. 我尝试删除并重新添加该列,但似乎无济于事。 Any ideas? 有任何想法吗?

I solved this by removing the site column from the content type, deleting the site column, re-creating the site column and readding it to the content type. 我通过从内容类型中删除站点列,删除站点列,重新创建站点列并将其读取为内容类型来解决此问题。 This solved the issue of the missing field in the list settings of the document library for me. 这为我解决了文档库列表设置中缺少字段的问题。 The only issue with this is that the internal name now changed to whatever it was and a 0 in the end, so i will have to update all code and workflow references accordingly. 唯一的问题是内部名称现在更改为原来的名称,最后更改为0,因此我将必须相应地更新所有代码和工作流引用。

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

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