RE: Adding multiple items from a related entity to a Word template
Hi Mattnoble07,
First please read this document on Word template: docs.microsoft.com/.../using-word-templates-dynamics-365
I take the Opportunity entity and Opportunity Line entity as an example. The relationship between them is 1: N, similar to your agreement entity.

In an Opportunity, I have 4 Opportunity Lines. Click Word Template > Download Template.

In the Download file to create a template dialog, select 1:N Relationship to Opportunity Line.

In the Word, click Developer tab > XML Mapping Pane.

Select the XML schema. It will begin with "urn:microsoft-crm/document-template/". Then find associated line items entity, expand the secondary list, and the fields in it are the associated line items field.

We first insert a table to represent the framework of associated line items. Then in the XML pane, right-click the entity field, and then click Insert Content Control > Plain Text. The data of this field will be added to the table.

After performing all such actions on all fields in the table, select the entire table row in the template. In the XML Mapping Pane, right-click the relationship containing the content control fields, and then click Repeating.

Save this word and upload it to D365.

Finally download this template, we can see the effect.

