更改文档集类型时,文档内容类型列表不会得到反映 [英] Document content types list doesn't get reflected when document set type is changed

查看:56
本文介绍了更改文档集类型时,文档内容类型列表不会得到反映的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们面临文档集问题.

我有两个链接到文档库的文档集.说-DocumentSet1和DocumentSet2.

I have two document sets linked to a document library. Say - DocumentSet1 and DocumentSet2.

每个文档集都配置了自己的文档内容类型集.说

Each of these document set have their own set of document content types configured. Say

DocumentSet1

DocumentSet1

  1. DocumentCT1
  2. DocumentCT2

DocumentSet2

DocumentSet2

  1. DocumentCT3
  2. DocumentCT4

现在,当我使用"DocumentSet1"创建案例时,并尝试在其中上传文档-在新的按钮菜单中,我看到了正确的选项,即DocumentCT1和DocumentCT2.

Now when I create case with "DocumentSet1" and tries to upload document in it - in new button menu i see correct options i.e. DocumentCT1 and DocumentCT2.

最终用户需要更改相同情况的内容类型-因此,当用户将文档集的内容类型更改为"DocumentSet2"时,然后期望在新按钮菜单中显示/显示文档CT的其他列表.但事实并非如此.它仍然显示 旧文档集中的doc CT.

There is need from end user to change content type of same case - so when user changes content type of document set to "DocumentSet2" Then it was expected to show/appear the other list of document CT in new button menu. But its not. Its still showing doc CT from old document set.

有人遇到过这个问题吗?有谁知道如何修复它?

Have anyone faced this issue? Does anyone knows how to get it fixed?

我们也尝试使用C#和PowerShell进行编程检查-检查此项的允许内容类型-那里显示了更新的文档CT名称,但在UI中它仍然显示旧的.无论我们更新案例多少次.

We tried to check programmatically using C# and PowerShell as well - to check allowed content types of this item - there it shows updated document CT names but in UI its still shows old. No matter how many time we update the case.

当您将案例从一个站点转移到另一个站点并更改文档集CT时,此方法效果很好-因为您实际上是在创建新的文档集.

This works well when you move case from one site to another and change the document set CT - because there you are actually creating new doc set.

可能的解决方案是删除该项目然后重新创建-但在我们这种情况下是不可能的.

Possible solution could be delete the item and create again - but thats not possible in our case.

谢谢

关于Sarvesh Shinde印度SharePoint开发人员

Regards Sarvesh Shinde SharePoint Developer, India

推荐答案

您好SarveshShinde,

从特定的文档集设置中控制文档集中使用的内容类型(可通过新建文档"按钮获得).必须在创建实际文档集之前进行设置.

转到库设置,然后选择要修改的文档集内容类型,单击文档集设置",然后在第一部分的允许的内容类型"中添加您希望从新文档"按钮可用的内容类型. 点击确定.

Hi SarveshShinde, 

The content types used (and available from the New Document button) in a document set is controlled from within the specific document set settings. This has to be set up before creating the actual document set.

Go to the library setting and select the document set content type that you want to modify, click on Document Set Settings and in the first section, Allowed Content Type add the content types that you would like to be available from the New Document button. Click OK.

正如我之前提到的,这必须在创建文档集之前完成,因为内容类型/新项目​​按钮不会在此更改之前创建的文档集中更新.

And as i mentioned before, this has to be done before creating a document set, as the content types/new item button won't update in the sets that are created before this change.

参考:

http://sympmarc.com/2012/10/19/removing-the-default-document-content-type-from-the-allowed-content-types-for-a-document-set/

Best Regards, 

Lisa Chen 



这篇关于更改文档集类型时,文档内容类型列表不会得到反映的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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