Welcome to Gravity Help
...
Communication
Printing Templates

Configuring Microsoft Word

Configuring Microsoft Word

Open the Word template file.

To see and add customer engagement apps XML data, you need to enable the Word Developer tab.

  1. Go toΒ FileΒ >Β OptionsΒ >Β Customize Ribbon, and then enableΒ Developer.

ο»Ώ

Document image
ο»Ώ

The Developer option will be visible on the menu

Document image
ο»Ώ

Inserting Fields in the Word document

You use the XML Mapping Pane to add entity fields to your Word template. Be sure to only add fields asΒ Plain TextΒ orΒ Picture only.

Document image
ο»Ώ

Position the cursor on the Word Doc and select the field from the list, right-click and paste as Plain Test. The result will look like this on the document.

Document image
ο»Ώ

Deselect Proofing options

  1. With the template file open in Word, go toΒ FileΒ >Β OptionsΒ >Β ProofingΒ >Β AutoCorrect Options.
  2. DeselectΒ Capitalize first letter of sentencesΒ andΒ Automatically use suggestions from the spelling checker.
  3. DeselectΒ Hyphens (--) with dash (-)Β on theΒ AutoFormatΒ andΒ AutoFormat as You TypeΒ tabs.
  4. ClickΒ OK.
Document image
ο»Ώ
Document image
ο»Ώ

ο»Ώ

Step 3: Define the Word template

Use the XML Mapping Pane under the Developer tab to define the Word template with entity fields.

Document image
ο»Ώ
Document image
ο»Ώ

Select the schema listed as "um:Microsoft-crm/document-template..."

Document image
ο»Ώ

You will see a list of fields to add to the template and at the bottom the related tables and thier fields.

Document image
ο»Ώ

A completed template would look like this in Word

Document image
ο»Ώ

Set content control fields to repeat

  1. Put fields with repeating data in a table row.
  2. Select the entire table row in the template.
Document image
ο»Ώ

Select the record to be repeated in the table, right-click and select Repeating.

Document image
ο»Ώ

ο»Ώ