topic hubofficial - Microsoftreviewed - checked by Opus

Microsoft Word

Microsoft Word integration in Business Central: designing Word report layouts with the Business Central Word add-in, mapping data fields to content controls through the XML Mapping pane, and using Word templates for mail merge communication with contacts, customers, and vendors.

Path: Integrate with other applications > Microsoft Office apps and Microsoft 365 > Microsoft Word · tier official · system none · narrative reviewed (checked by Opus)

Overview

This section covers two uses of Word with Business Central: report layouts and Word templates for communication. The report layout pages explain how to build a Word layout for a report, either with the Business Central Word add-in or by mapping fields manually.

The add-in page describes adding report data, inserting tables, adding repeaters, and controlling visibility with hide-if-empty controls, without editing XML directly. The mapping page covers the alternative: using the XML Mapping pane to bind report fields, labels, images, and repeating rows to content controls in the document.

The Word templates page is separate and focuses on bulk communication. It explains using entities as data sources, adding merge fields, and applying a template to generate documents or send emails. Start with the add-in page for layout design, or with the Word templates page for mail merge.

Key points

  • The Business Central Word add-in lets you design report layouts through an Add Data task pane, without editing XML directly.
  • The add-in supports inserting tables, adding repeaters, hide-if-empty controls, and layout comments.
  • The XML Mapping pane is an alternative way to map report data fields to Word content controls.
  • Mapping covers repeating rows, image fields, and label mapping, and uses a custom XML part.
  • Word templates use mail merge for bulk communication with contacts, customers, and vendors.
  • Templates use entities as data sources, including related and unrelated entities, with a field prefix and field selection for merge fields.
  • A finished template can be applied to generate documents or send emails.

Learn pages

Business Central pages and reports

The pages, reports and queries this hub’s Learn pages name (ms.search.form, API reference), joined to the code by exact object id (data/index/docs-objects.json); a page shows the table it runs on.

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

What Learn documents here 3 Learn pages