#12772 Bug 654042: [DocumentReporting] Exporting Word layout themes uses the wrong file extension
Word theme layouts are now exported with the dotx file extension instead of docx. GetFileExtension in Report Layouts Impl. now handles Word layout subtypes, and the PR adds the missing tests for the artifact export functions.
- 9files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-17 by nhsejth · 9 files (+1103 -133), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- GetFileExtension in codeunit 9660 now handles Word layout subtypes
- Theme layouts are exported as dotx instead of docx
- Adds tests for the layout export functions in the composite layout and report layout test codeunits
- Adds sample docx, xlsx and dotx layout files and extends the test report
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 9660 “Report Layouts Impl.”, Base Application: modified
Also merged into
- #14333 into
releases/29.xon 2026-12-03
Context
- Work items: AB#654042
- Labels: Team: Integrations
- Systems: platform
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Define Report Layouts in AL for Business Central — possibly related: Documents defining report layouts in AL including Word layout themes that the fix addresses. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).