code change · fixPlatform, DevOps & Performanceofficial - Microsoftreviewed - checked by Opus

#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.

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

Also merged into

  • #14333 into releases/29.x on 2026-12-03

Context

  • Work items: AB#654042
  • Labels: Team: Integrations
  • Systems: platform

No source states these links: they share an object, a model read them, or a person found the same subject.

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).