I recently came upon a new way to add metadata to SharePoint. Using Quick Parts in Word documents allow users to quickly add metadata without them even knowing about it!
Typically Quick Parts would be used in templates or forms where you want users to fill in standard fields. This can also be done using Microsoft InfoPath, but that would require a more sophisticated user or administrator to set it up.
The steps to set this up using Quick Parts are as follows:
- Create the custom columns in SharePoint that will be used to store the metadata.
- Add the Quick Parts to a Microsoft Word document that is created in SharePoint. These Quick Parts will point to the metadata columns just created in SharePoint.
- Save this Word document as a template in the SharePoint library
- Users can then open the template when they click "New" in the SharePoint Document Library
- Users populate the Quick Part with the metadata, either by typing it in, or by selecting from a dropdown.
- When the doucment is saved into SharePoint, the metadata is saved into the SharePoint columns.
This is explained in more detail in an excellent blog by Kevin DeRudder called Using quickparts in document templates.
Here is my quick example. I created a document library that is used to save administrative documents for a cruise ship company. I added 2 new columns to the library called Cruise Month, which captures which month the ship sailed, and Cruise Classification, which captures the classification of the document. (Click image to get larger view)
I then created a word document and inserted these columns from Quick Parts
Here is the Word document.
I then save the Word document locally, and copy this document to the SharePoint document library template folder.
Then when users click on New document in Sharepoint, this template is opened. The users can change the values of the Quick Parts:
When the user saves the document back to SharePoint the values in the Quick Parts are automatically added to the appropriate columns in SharePoint.