Quick Part Handling in Online Document Generator Template

We can merge the Item Fields in the Template Header/ Footer that enables to view the value when the Document is generated using Online Document Generator.

FORMAT TO ADD QUICK PARTS IN THE TEMPLATE HEADER

Project Name : [*Project.Name*]

To merge the Item Fields, we need to make sure that the fields are present in the Work Item Details Page

For Example, user want to add the Item Name , Key and Version in the Template so all these fields should also be displayed on the Work Item Details Page

Format to Add the Quick Parts in the Header 

The name is enclosed in [*RootItem.FieldName *]. The Field Name should be the same as displayed on the Work Item Details Page. For Example:

Name :   [*RootItem.Name*]

Key:       [*RootItem.Key*]

Version: [*RootItem.Version*]

So the .dotx file should have the embed Quick Parts as follows in the Header

Online Document Generator displays the Field values for the above document as

For Field name having two words, it works like

Item Description: [*RootItem.Item Description*]

Leave A Comment?

You must be logged in to post a comment.