Sharepoint 2010 内容类型超链接和 Word QuickPart

Sharepoint 2010 Content types Hyperlinks and Word QuickParts

Sharepoint 2010

我在 Sharepoint 方面进展缓慢,但在内容类型和 Word Quickparts 方面遇到了问题。

我想做什么:

我想要一个内容类型来保存可能位于不同库中的手册和相关文档的摘要信息。我想使用 Word Quick Parts>Document 属性 字段在 Word 中的 Table 中显示此信息(通过设置模板)。

This table 然后会在文档顶部汇总所有相关字段及其相关链接,而文档顶部又会汇总有关特定 system.This Word 文档的信息,而 Word 文档又会存储在单独的文档库中。

这一切都适用于日期、文本描述、复选框、yes/no 字段和下拉选择,因为我可以找到相关的 Word Quick Parts>Document 属性
但是,"Hyperlink or Picture" 类型字段不存在于 Word Quick Parts>Document 属性 字段中。

So

Am I完全误解了内容类型的用途?



sharepoint 中是否有设置可以使这些超链接在 Word Quick Parts 中可见?



有没有更好的替代方案。

谢谢!

Hyperlink 在 Word Quick Parts 中作为 属性 不可用。

遗憾的是,当您单击 属性 图标时,您可以在 Word 中访问此字段。这将显示带有 hyperlink 字段的文档的所有 SharePoint 属性。

解决方法是创建一个简单的文本字段并将 hyperlink 字段的 URL 放入该字段中。 (使用工作流或事件接收器)

在此link中提出了另一个深度解决方案: https://social.msdn.microsoft.com/Forums/office/en-US/c7619237-baa1-4669-af65-0f0a39223aad/sharepoint-metadata-and-office-quickparts-hyperlinks-are-not-appearing-in-the-quick-part-list?forum=worddev

这是关于创建两个属性,一个用于文本,一个用于url。然后在Word中排列,得到一个hyperlink.

由于微软似乎要删除很多遗留网页,上面link的内容复制如下:

a. In the sharepoint list, you will need two text properties, one for the link text and one for the display text. Let's call them hllink1 and hldisplay1. For a sample document, put some text in each of these properties.

b. in the template,

  • insert the hllink1 Document Property and the hldisplay1 Document Property. This is a temporary move that will let you change thevalues of these properties without displaying the DIP

    • insert a HYPERLINK field as follows

      • use ctrl-F9 to insert a pair of field code braces { }

      • type HYPERLINK "" between the {}, so you have

{ HYPERLINK "" }

then insert another copy of the hllink1 Document Property between the ""

{ HYPERLINK "the Document Property for hllink1" }

c. select the Hyperlink field and use F9 to update it. When you show the result (Alt-F9), you should see a clickable hyperlink where the "display text" is the same as the link text

d. Click somewhere inside the display text, and insert the hldisplay1 Document Property.

e. Carefully select the remainder of the display text and delete it. You should stil be left with a hyperlink that can be ctrl-clicked in the usual way.

f. Modify the texts in hllink1 and hldisplay1. However notice that, as a maximum, the hyperlink display text will update automatically. The tooltip for the hyperlink does not update automatically.

g. Select the hyperlink and press F9 to update it. The tooltip/link text should update