community postReporting & Analyticscommunity - not Microsoftreviewed - checked by Opus

BC Word Layout MCP 2.1.0: What changes when you print with a report theme?

BC Word Layout MCP 2.1.0 adds support for report themes in Word layouts, allowing layout elements to follow selected Business Central themes via theme colour references instead of fixed colours. The update enables conditional footer text, improved merged cell handling, and requires BC 29 or higher for new theme and style features.

post BC Captain

Tom Kapitan · 2026-11-22 · 743 words · about 3 min

"Instead of asking for a blue heading, ask for accent1. That's a slot in the theme, not a particular colour."

Key points

  • Theme colours like accent1 are slots that follow the selected report theme, while hex colours like #0070C0 remain fixed and always print the same way
  • The new set_layout_theme tool edits the theme inside the layout itself, changing colour slots and fonts independently of report themes in Business Central
  • insert_page_conditional_text uses Word IF fields to control footer and static text visibility based on page position (notLastPage, lastPage, firstPage)
  • Table tools now work with vertically merged cells while preserving merges when changing column widths, and you must target the cell where the merge starts
  • Theme colour and style edits require BC 29 or higher; the server reads the target from AL app.json or the BCWL_BC_VERSION environment variable

Quotes

  • “Instead of asking for a blue heading, ask for accent1. That’s a slot in the theme, not a particular colour.” (Explains the core distinction between theme colours and fixed colours, which is essential for layouts that should follow report themes)
  • “Theme colours, their tints and theme fonts followed the report theme. Fixed colours and explicitly named fonts stayed as they were.” (Demonstrates the tested behavior showing which formatting elements adapt to themes and which remain static)

Context

  • Features: Theme colour support, Report theme integration, Conditional footer text, Merged cell handling, Layout theme editing, AI agent tools for layout creation
  • Versions: BC 29, MCP 2.1.0

Source: BC Captain, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.