community postReporting & Analyticscommunity - not Microsoftreviewed - checked by Opus

Quick Tip: Edit Layout can fail for standard Word layouts in Business Central 29 (UnsupportedExternalContentFields)

Editing standard Word layouts for reports in Business Central 29 and 29.1 can fail with an UnsupportedExternalContentFields error when the layout contains references to external document templates. The issue stems from Word storing file paths to .dotx template files inside the .docx layout file, and can be resolved by removing the template reference from the Document Template field and creating a new user-defined layout.

post think about IT

Steven Renders · 2026-12-03 · 406 words · about 2 min

"UnsupportedExternalContentFields: The Word layout contains unsupported fields or external references: ExternalRelationship:attachedTemplate."

Key points

  • In BC 29 and 29.1, Edit Layout on a standard Word layout, such as report 1306 Standard Sales - Invoice, can fail with an UnsupportedExternalContentFields error about an attached template.
  • Word keeps the path to an attached .dotx template inside the .docx. The attachedTemplate element in settings.xml points to an external relationship in settings.xml.rels.
  • That template path can survive every copy of the layout, even after the original template is gone.
  • Workaround: export the layout, clear the Document template field in desktop Word through the Developer tab, save, then import the file as a new user-defined layout for the same report.
  • Test with Edit Layout and Run Report, then set the new layout to Approved so it shows on the request page.

Quotes

  • “UnsupportedExternalContentFields: The Word layout contains unsupported fields or external references: ExternalRelationship:attachedTemplate.” (This is the exact error message users encounter, helping them identify and search for the solution)
  • “Word stores that path inside the .docx. It can survive every copy of the layout, even long after the original template has disappeared.” (Explains why the error persists and why simply copying layouts elsewhere doesn’t resolve the issue)

AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

  • report “Standard Sales – Invoice (1306)”

Not found in BC28-30: report “Standard Sales – Invoice (1306)”.

Context

  • Features: Edit Layout, Report Layouts, Word layout editing, Document Template management
  • Versions: Business Central 29, Business Central 29.1

Source: think about IT - Steven Renders, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.