Answered by:
Embedding document version history into the word document

Question
Answers
-
I have done this using the following steps
- Created Event receiver - ItemCheckIn() event
- Created a multiline site column under Document history
- Pull document history into the site column
- Using Quickparts, Place the new column inside the word document template (under Version History section)..
Thats it...
- Marked as answer by GeekPeek Monday, May 7, 2012 1:53 PM
All replies
-
It is already embedded (click on the ribbon file (msword))
You may also define Information Management Policy (guide):
- Click on Settings > Document Library Settings
- Click on “Versioning settings” and make sure that you’re either having it “create major versions” or “create major and minor (draft) versions”.
- Click OK.
- Click on “Information management policy settings”
- Select “Define a policy…” and click OK.
- Check the “Enable Labels” box, but don’t check either of the other two boxes in that section.
- Type {_UIVersionString} into the “Label format” box.
- Click on the “Refresh” button to see a preview of your version label. It will say something like {_UIVersionString}
- Click OK.
-
Thanks though. I think Im looking for pulling entire version history ( like No, Modified, Modified By, Comments) to the document itself..in a tabular format...
so whenever the user check in the document, it should pull and append the history information into the word document....
-
-
I have done this using the following steps
- Created Event receiver - ItemCheckIn() event
- Created a multiline site column under Document history
- Pull document history into the site column
- Using Quickparts, Place the new column inside the word document template (under Version History section)..
Thats it...
- Marked as answer by GeekPeek Monday, May 7, 2012 1:53 PM
-