无法更改pptx,xslx和docx文件的内容类型 [英] Unable to change content types for pptx, xslx and docx files

查看:109
本文介绍了无法更改pptx,xslx和docx文件的内容类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个问题,即我无法更改任何基于xml的Office文档的内容类型.这是我所做的:

I'm running into an issue where I cannot change the content type of any xml-based Office documents. Here's what I've done:

1-根据文档内容类型创建自定义内容(A)类型

1 - Create a custom content (A) type based off the Document content type

2-在文档库中启用自定义内容类型

2 - Enable the custom content type in a document library

3-添加文档或选择现有文档,然后将内容类型编辑为自定义内容类型

3 - Add a document or select an existing document and edit the content type to the custom content type

4-自定义内容类型将为.ppt,.doc等文档保存.自定义内容类型现在将为.docx,.pptx或.xlsx文件保存.属性窗口将保存,不会显示任何错误,但内容类型不会更改

4 - The custom content type will save for documents such as .ppt, .doc, etc. The custom content type will now save for .docx, .pptx or .xlsx files. The properties window will save without displaying any errors but the content type will not change

我进行了一些测试,包括基于Document内容类型创建另一个自定义内容类型(B).我证明了:

I ran several tests including creating another custom content type (B) based off of the Document content type. I proved that:

  • 如果不将其他列添加到自定义内容类型,则可以将自定义内容类型(B)保存到.docx,.pptx或.xlsx文件中.
  • 我将列添加到自定义内容类型,上述文档无法另存为该自定义内容类型

通过文档库中的文件"选项创建的文档在保存时也无法将内容类型更改为自定义内容类型.我的大多数文件是.docx,.pptx或.xlsx文件,此问题在我们的SharePoint推出中构成了重大障碍. 感谢您提供的任何建议.

Documents created through the File option in a document library also fail to change content type to the custom content type when saved. Most of my files are .docx, .pptx, or .xlsx files, and this issue poses a significant roadblock in our SharePoint roll-out. I appreciate any advise you can provide.

推荐答案

根据您的帖子,我的理解是,自定义内容类型在添加其他列时无法保存为.docx,pptx和xlsx文件.

According to your post, my understanding is that the custom content type could not save with .docx, pptx and xlsx files when with a additional column.

我按照以下步骤测试了您的问题,自定义内容类型运行良好.

I tested with your issue as the steps below, the custom content type worked well.

  1. 创建自定义列 Doc1
  2. 创建自定义内容类型 Doc1 ,父内容类型从文档内容类型",父内容类型"中选择选择文档.
  3. 将自定义 Doc1 添加到自定义内容类型 Doc1.
  4. 将自定义内容类型添加到库中LIbA.
  5. 将具有.docx,.pptx和.xlsx文件的文件上传到具有自定义内容类型的库中,它们都与自定义内容类型一起保存良好.
  1. Create a custom column Doc1
  2. Create a custom content type Doc1, the parent content type from chose the Document Content Types, Parent Content Type chose Document.
  3. Add the custom Doc1 to the custom content type Doc1.
  4. Add the custom content type into the library LIbA.
  5. Upload the files with .docx, .pptx and .xlsx files into the library with the custom content type, they all save well with the custom content type.

我还使用其他父级内容类型"创建了其他内容类型,它们都起作用.

I also create other content type with other Parent Content Type, they all worked.

该问题是否在其他库中发生?您可以创建一个新库,然后使用自定义内容类型检查它是否有效.

Did the issue occur in other library? You can create a new library then use the custom content type to check whether it works.

您还可以使用其他浏览器来检查其是否正常运行,例如Chrome,Firefox.

You can also use the other browsers to check whether it works, such as Chrome, Firefox.

感谢&问候


这篇关于无法更改pptx,xslx和docx文件的内容类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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