topic hubIntegration & APIsofficial - Microsoftreviewed - checked by Opus

Integrating with Microsoft Word

Integration of Business Central with Microsoft Word: mapping report data fields to content controls in Word report layouts, and using Word templates for mail merge communication with contacts, customers, and vendors. It answers questions about layout design and template setup.

Path: Integration > Integrating Business Central with Office apps and Microsoft 365 > Integrating with Microsoft Word · tier official · system integration · narrative reviewed (checked by Opus)

Overview

This area covers two uses of Word with Business Central. The first is designing Word layouts for reports. The XML Mapping pane is used to map report data fields to content controls, so report content, labels, images, and repeating data appear where you want them in the document.

The second is Word templates for bulk communication. A template uses an entity as its data source, and merge fields add personalization. You then apply the template to generate documents or send emails to contacts, customers, and vendors.

Start with the Word templates page if you need mail merge for communication. Start with the data field mapping page if you are building or editing a report layout in Word.

Key points

  • Map Data Fields in Word Layouts: use the XML Mapping pane to link report data fields to Word content controls (version 29 noted).
  • Word layouts can include labels, image fields, and repeating rows mapped from a custom XML part.
  • Word templates support mail merge for bulk communication with contacts, customers, and vendors.
  • Templates are set up with an entity as the data source, and merge fields personalize the content.
  • Templates can include related and unrelated entities, with a field prefix and field selection to choose which data to use.
  • Applying a template generates documents or sends emails.

Learn pages

Videos and posts

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 2 Learn pages