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
  • 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]

  • Hi mandark52, We you able to solve this issue?

Comment Children
No Data