Sharepoint 内容类型可以基于文档架构吗

发布于 2024-09-28 17:07:26 字数 145 浏览 3 评论 0原文

我正在尝试使用单个文档库来存储和显示基于少数不同架构的多个 Xml 文档。每个架构都有一个与其关联的 InfoPath 表单。

我是否可以将相同的文件类型 (.xml) 与多个内容类型相关联,因为这将需要 Sharepoint 检查文件的内容以确定匹配的架构?

I am attempting to use a single Document Library to store and display multiple Xml documents based on a handful of different schemas. Each schema will have an InfoPath form associated with it.

Can I associate the same file type (.xml) with multiple Content Types, given this will require Sharepoint to inspect the content of the file to determine the matching schema?

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

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

发布评论

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

评论(1

自由如风 2024-10-05 17:07:26

内容类型与共享点中的文件类型无关。此外,Sharepoint 无法根据文件内容检测内容类型。但是,它可以使用文档属性来设置元数据,包括内容类型。不幸的是 xml 文档没有这些,所以唯一的方法是实现自定义功能。

Content type is not related from file type in sharepoint. Also sharepoint can't detect content type based on the file content. However it can use document properties to set metadata including content type. Unfortunately xml document doesn't have those so the only way is to implement custom Feature.

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