Hi, Readers.
The public preview for Dynamics 365 Business Central 2026 release wave 2 (BC29) is available. Learn more: Link.
I will continue to test and share some new features that I hope will be helpful. In this post, I would like to talk about Report layout subtype on Word layouts.
Report layout subtype on Word layouts:
A new
https://marketplace.visualstudio.com/items/ms-dynamics-smb.al/changelogSubtypeproperty has been introduced onWordlayouts where the subtype can be specified asDefault,HeaderFooter,ThemeorBody. Notice that layouts of subtypeThememust be implemented as template files with thedotxfile extension. TheBodysubtype follows the same file type constraints asDefault(adocxfile): useDefaultfor existing layouts, andBodyfor layouts that support composite layouts with selectable header/footer and theme parts. A body layout can setHeaderFooterPartandThemePartto reference layouts with theHeaderFooterandThemesubtypes.


A report layout controls content and format of the report. For example, the data fields in the report dataset that appear on the report, how they’re arranged, the text style, images, and so on.
Starting from Business Central 2022 wave 1 (BC20), Microsoft added a new rendering section for reports and report extensions, allowing us to add multiple layouts. More details: Business Central 2022 wave 1 (BC20) new features: Adding multiple layouts (New rendering section for report and report extensions)

PS:
1. Don’t Forget the Layout! Essential Steps for Publishing Report Extensions
2. New AL Code Action for multiple layouts (Convert RDLCLayout/WordLayout/ExcelLayout to Rendering report session)
There are four types of layouts that you can use for reports:
- Word
- RDLC
- Excel
- External
This new Subtype feature is specifically for Word layouts. And in Report layouts, Microsoft added a new field called Subtype.

Subtype
Specifies the role of the layout in the Composite Layout Merge: full body (Default), header/footer part, or theme part.

Let’s take a look at a simple example. I created a report containing all subtypes and published it to the BC environment.

Layouts with the Subtype set to Body or Default will be displayed on the Report Layouts page.

And layouts with HeaderFooter and Theme will be displayed on the new Manage themes and header-footer layouts page.

In Report Layouts, you can set a report theme and header-footer for layouts with the subtype set to Body.


PS: Regarding how to use Themes, please refer to the post below.
Business Central 2026 release wave 2 (BC29): Brand document reports with report themes
Great. Give it a try!!!😁
END
Hope this will help.
Thanks for reading.
ZHU




コメント