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 Reuse header/footer layouts across document reports.
Reuse header/footer layouts across document reports:
With the new composable layouts feature, you can apply a header/footer on layouts to get consistent look and feel on the PDF output. It is possible to set defaults on a global level, per company, per report, or per layout, giving the administrator full flexibility of theming.
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/whatsnew/whatsnew-update-29-0?wt.mc_id=DX-MVP-5004336

Last week, we briefly discussed how report themes can be used to brand document reports in this major update (BC29). More details: Business Central 2026 release wave 2 (BC29): Brand document reports with report themes

In fact, the same applies to the header and footer.
A header or footer in Word can contain text, information about the document, or even images. You can create one header or footer for the whole document, or have a different header or footer for the first page, odd. and even pages, or even multiple sections. Let’s see more details.
- Go to Insert > Header or Footer.

- Choose the header style you want to use.


Tip
Some built-in header and footer designs include page numbers.

- You can add or change the text in the header or footer. To edit an existing header or footer, double-click it. For more information on things you can do with headers, go to Edit your existing headers and footers.
- To eliminate a header, for example, deleting the header on a title page, select it and then check the Different First Page box.
- Select Close Header and Footer or press Esc to exit.
To delete, select Insert > Header (or Footer) > Remove Header (or Remove Footer).

More details: Insert a header or footer
Select Tell Me (Alt+Q) in the upper-right corner, enter Manage themes and header-footer layouts, and then choose the related link.

Choose New header/footer to create a new header/footer.

Enter the Name and Description, then click OK.

Select the newly saved Word file.

Done.

Next, let’s take a look at how to use it.
Select Tell Me (Alt+Q) in the upper-right corner, enter Report layouts, and then choose the related link.

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.

And the new Composite Layout menu.

Note that themes and headers/footers can only be applied to Word Layouts, and only for reports where the Subtype is set to Body.
For example, when you select an RDLC layout, the actions are directly grayed out.

And for layouts with a Subtype set to Default, the following error will be displayed.
Report 99000792 has no body layouts, so there is nothing to set a theme or header/footer on. Only a body layout carries them: a theme and header/footer are merged onto it when the report renders.

Currently, there are no standard layouts with a Subtype of Body. So to test this feature, we need to create a new one. You can simply export a standard layout and import it directly.


Done.

Then we can choose Set report theme and header-footer.

Then, specifies the Header/Footer Part applied to this report’s layouts.



PS:
The part Demo Header/Footer is not approved. Only approved themes and header/footer parts can be assigned. Approve it in Report themes and header-footer setup first.



Alright, the setup is all done. Let’s run a quick test!


Great.

It is possible to set defaults on a global level, per company, per report, or per layout.


Great. Give it a try!!!😁
PS: Business Central 2026 release wave 2 (BC29): 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.
END
Hope this will help.
Thanks for reading.
ZHU




コメント