Advanced Document Templating

Overview

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
Anonymous
  • v2.0.0 Release Notes
    • Fixed compatibility issues with Java 17. This new jar will work for 24.2 and above versions. For lower versions use the attached jar with name Java8-Compatible-Jar.
  • Hi,

    I have a question about the function of converting DOCX templates to PDF documents(PDF from Single DOCX).
    I would like to place an image behind the text and output it as a PDF document.
    Currently, even if I set the image to be behind the text in the DOCX template, it does not apply correctly when converting to a PDF document.
    Is there a way to place an image behind the text and convert it to a PDF document?

  • For those who are experiencing alignment issues (or other display issues) since the upgrade to Appian > 24.2 & v1.1.2 of this plugin, we have raised the issue with Appian and the developer is working on a fix.  We have been advised to monitor this page for updates

  • I believe there was a significant jump in Java versions (9->17) between Appian 24.1 and 24.2.  
    From what I can tell v1.0.7 of the app will stop working.  Upgrading the plugin should help it work but we have encountered issues with our docx templates displaying misaligned text once converted to pdf.  Did you manage to resolve you issue?

  • Following on from Marcello's comment.  We have experienced the same thing; updated the plugin to 1.1.2 and now our PDFs are unreadable 

  • Hello everyone,

    We have updated the advancedDocumentTemplating plugin from version 1.0.6 to version 1.1.2, using both available features DOCX Document From Template and PDF Document From DOCX.

    We tested the new version with the same templates and the same XML, and the results are as follows: 1. The DOCX document generated by the new version is identical to the one generated by version 1.0.6.; 2: The generated PDF is unreadable (overlapping lines, images inserted in different positions).

    Has anyone in the community encountered the same problem and found a solution?

  • v1.1.2 Release Notes
    • Removed xerces:xercesImpl library for vulnerability fix since it has no dependencies with other libraries
  • Hi All, 

    I am getting this error:: 

    Syntax error in template "fr.opensagres.xdocreport.document.docx.DocxReport@5280d348!word/document.xml" in line 4, column 17895:
    Encountered "<", but was expecting one of these patterns:
    <STRING_LITERAL>
    <RAW_STRING>
    "false"
    "true"
    <INTEGER>
    <DECIMAL>
    "."
    "+"
    "-"
    "!"
    "["
    "("
    "{"
    <ID>

    We checked the xml in Appian through a validator and that looks fine. We shortened the content of a docx template to just a few lines, and still get the same error. We even returned the last version that was working, and that one also doesn't work anymore. Has anyone even experienced this? Thanks! 

  • Were you able to find a way to do this in the meantime, I may need to use this one as well? Thanks! 

  • Hi All,

    We are having a requirement of adding the checkbox in word document and it should be checked based on the condition. Could you please provide any reference on adding the checkbox and configuring the validation in word document?

    Thanks In Advance.