Sometimes you need to insert the Version number of a word document stored in a SharePoint library in the content area of the word document. As Björn wrote, you can use code to achieve it. But i would like to share another approach which does not need coding. The trick is to use the label function in SharePoint library settings.
Well, let’s start by the beginning. At first we have to go into the document library settings and click on the “information management policy setting”.
In this area we have to select the content type by click on the name
And now we can do the magic. We activate the checkbox for Labels and i would recommend to prevent changes to labels after they are added.
In the label format you have to add the property of the SharePoint document for the version string which is
It’s also possible to user other properties. But let’s go on, by adding it to word.
Click ok and the we have to go the word template in the library. Open the template for editing. In word you can then use the tab Insert and choose “Document property” from Quickparts menu.
Now it should have a property called “Label” which you can insert in the word document. After saving the template and open a new word document of it, it should display the version string of your document.
The article or information provided here represents completely my own personal view & thought. It is recommended to test the content or scripts of the site in the lab, before making use in the production environment & use it completely at your own risk. The articles, scripts, suggestions or tricks published on the site are provided AS-IS with no warranties or guarantees and confers no rights.
He is Consultant for SharePoint Solutions for collaboration, communication and business processes. He provides his customers applications based on standard features as well as development or combining the power of several microsoft tools like Dynamics CRM. In his free time he tries to collect tipps and worthy experience in this blog.