如何在word文档中包含sharepoint版本列的值? [英] How can I include value of sharepoint's version column in a word document?

查看:21
本文介绍了如何在word文档中包含sharepoint版本列的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试找出一种方法,将 SharePoint 中版本列的内容(即每次签入文件时更改的值)显示为 Word 文档内的字段(或类似内容).

I'm trying to work out a way to display the contents of the version column from SharePoint (i.e. the value that changes every time a file is checked in) as a field (or something similar) inside of a Word document.

理想情况下,我想知道如何配置 SharePoint,以便我可以单击插入 > 快速部件 > 文档属性 > 版本"之类的内容,它会在文档中包含版本.目标是让某人更容易将文档的打印版本与 SharePoint 的版本历史记录相关联.

Ideally, I'd like to know how to configure SharePoint so I could click something like "Insert > Quick Parts > Document Property > Version", and it would include the version in the document. The goal is to make it easier for someone to correlate a printed version of a document with the version history of SharePoint.

已经能够将可编辑的文本列添加到文档内容类型,并将它们显示为文档属性快速部件.我还能够添加一个计算列,该列将版本作为文本字符串...但是这个计算列不是作为文档属性显示在 Word 中.(可能我在计算列上遗漏了一个设置)

I have been able to add editable text columns to the Document content-type and have them show up as document property quick parts. I've also been able to add a calculated column which gets the version as a text string... however this calculated column isn't showing up in Word as a document property. (Perhaps I'm missing a setting on the calculated column)

推荐答案

这是在文档中获取版本的一种方法,让它工作有点痛苦...

This is one way to get the version in your document, it's a bit painful to get it working...

  • 在您的文档库中启用版本控制和内容类型.
  • 进入文档库设置并选择您希望版本显示的内容类型.
  • 从内容类型菜单中选择信息管理策略设置.
  • 选择定义策略并点击.
  • 点击启用标签"复选框
  • 不要选中标签部分中的其他两个框.
  • 在标签格式字段中,按以下格式输入元数据字段:

  • Enable versioning and content types on your document library.
  • Go into document library settings and select the content types you want the version to appear in.
  • Select Information management policies settings from the content type menu.
  • Select define a policy and click .
  • Click on the 'Enable Label' Check box
  • Do not Check the other two boxes in the Labels section.
  • In the Label Format field, enter the metadata fields in the following format:

 Version : {Version} 

  • 设置标签外观并点击预览.

  • Set the label appearance and click on preview.

    这篇关于如何在word文档中包含sharepoint版本列的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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