Advanced Document Templating


This plugins allows to generate DOCX files from a DOCX template and an XML data model from Appian. It also allows to convert a DOCX into PDF through an opensource (with limited capabilities) library.

Key Features & Functionality

  • Smart Service to Generate a DOCX from a DOCX Template and an XML data model
  • Smart Service to convert DOCX to PDF through an opensource (with limited capabilities) library
  • We're getting access denied error when running the smart service docx to pdf eventhough pm is made to run as service account? . Any pointers

  • Is it still possible to access the "how to design a report" documentation anywhere? I tried the link in the ADT guide.pdf file and the page no longer exists 

  • v1.0.12 Release Notes
    • Bug Fixes:
    • Correctly handle images dictionary input

  • We are facing the same issue as mentioned below. When we have lists, the text appears fine in document, but when the doc is converted to PDF, the same text is superimposed

  • Hi, did you find any solution for above use case ?

  • Apart from the existing bad pdf rendering issue, we have noticed a new issue with latest version (1.0.11) of this plugin where embedding images in word document doesn't work and results into the following error: 

    We have made sure that we follow the correct syntax for embedding images in docx as described in the documentation of this plugin. Everything works well with the plugin version 1.0.10 but we cant revert to that version in productions.

    Any insight/alternative on this would be helpful

    freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
    ==> logo  [in template "fr.opensagres.xdocreport.document.docx.DocxReport@2f8c27f9!word/document.xml" at line 4, column 110328]
    Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use [#if myOptionalVar??]when-present[#else]when-missing[/#if]. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (!myDefault, (
    FTL stack trace ("~" means nesting-related):
    	- Failed at: #list logo as logo  [in template "fr.opensagres.xdocreport.document.docx.DocxReport@2f8c27f9!word/document.xml" at line 4, column 110321]

  • What is entailed in a Security Update for the plugin? Working through an analysis of the plug in and looking for any additional details as to what is updated as part of the security updates. 

  • As this issue is due to an upgrade, could you please create a support case and upload any details there. Our solution engineering team will help with the next steps.


  • Hi, we notice in the past week the bad working of the PDF Document From DOCX smart service, children of the Advanced Document Templating Plug-in. In particular, the conversion of docx to pdf superimposes the writings. We have an app that we will deploy next week but we can't, cause this bad working. Document example in attachments, Thanks

  • If possible, Leo, can you please send an email to with as much technical details as possible including screenshoots, bugs, logs, error message, etc so we can follow up?