SharePoint 自定义内容功能以及 Word 快速部件和文档信息面板

发布于 2024-07-05 06:30:13 字数 474 浏览 5 评论 0原文

我正在为 MOSS 创建自定义内容类型功能,该功能还将包含 Word 2007 文档作为文档模板。 同一 Word 文档还将具有针对内容类型中所有字段的文档信息面板 (DIP) 和快速部件

问题是,当部署我的功能时,Word 文档的快速部件似乎不再绑定到文档库中内容类型的列。 例如,如果您:

  1. 在快速部分中键入一个值
  2. 将 Word 文档保存到文档库
  3. 查看文档属性;

刚刚键入的值未列出。 但是,如果您使用 DIP 指定值(而不是快速部分)然后保存它,它确实会保存为元数据。

我的内容类型的“文档信息面板设置”屏幕就像没有 InfoPath 模板一样。 果然,如果我重新上传(或创建新的)InfoPath 模板,那么上述问题就会消失。

如何使其在我的功能中发挥作用,而无需执行上述手动步骤?

I am creating a custom content type feature for MOSS that will also include a Word 2007 document as the document template. The same Word document will also have a Document Information Panel (DIP) and Quick Parts for all the fields in the content type.

The problem is that when my feature is deployed the Word document's Quick Parts no longer seem bound to the content type's columns in the Document Library. For example, if you:

  1. Type a value into the Quick Part
  2. Save the Word document to the document library
  3. Look at the documents properties;

The value just typed is not listed. However if you use the DIP to specify the value (instead of the quick part) and then save it, it does get saved as metadata.

The "Document Information Panel Settings" screen for my content type is acting as if there is no InfoPath template. Sure enough if I re-upload (or create a new) InfoPath template, then the above problem goes away.

How do I get this to work in my feature without having to do the manual step described above?

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

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

发布评论

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

评论(2

岛徒 2024-07-12 06:30:13

可以为 DIP 定义自定义模板并将其部署到站点,将内容类型设置为链接到该模板。

It may be possible to define a custom template for the DIP and deploy that to the site, setting the content type to link to that template.

时间你老了 2024-07-12 06:30:13

我在博客中找到了解决方案,但你必须使用 InfoPath...以下是链接:
在 Word 文档中使用 SharePoint 元数据 – 查找列

http://vspug.com/maartene/2009/03/13/using-sharepoint-metadata-in-word-documents-the-lookup-column-issue/

I found a solution in a blog, but you have to use InfoPath... Here is the link:
Using SharePoint Metadata in Word Documents – The Lookup Column

http://vspug.com/maartene/2009/03/13/using-sharepoint-metadata-in-word-documents-the-lookup-column-issue/

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