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
  • Hello everyone, I have a specific requirement. I need to add signature images to the docx document which is working as per the list of images in the documentation template. However, I have no control over the image size and it is either too big with preserve image size = true or too small with preserve image size = false. Is there any way to control image sizes better? maybe a specific compatible XML tag I might be unaware of?

  • v2.0.1 Release Notes
    • Security Patch Updated
  • Hi,

     is it possible some kind of conditional logic ?
    For example I want to add a section inside a if- else construct.
    My use case is to generate this section by evaluating a boolean value in the xml.
    Thanks in advance.

  • Adding the <![CDATA[<html> tag
    I get that the plugin does not give an error. But word does not interpret the html correctly.

  • Hi,

    Is it possible to include html content within the xml data model?

    with the following xml:


    <project>
    <informacionCentroTrabajo>
    <centroTrabajo>
    <p>
    <strong>BASE SIC SANTANDER</strong>
    </p>
    <ul>
    <li>
    <p>(ESTACIÓN DE SANTANDER AM)</p>
    </li>
    </ul>
    </centroTrabajo>
    <ubicacion>Calle Canalejas 2</ubicacion>
    <provincia>Alicante</provincia>
    </informacionCentroTrabajo>
    </project>

    I get the following error:

    "Only elements with no child elements can be processed as text. This element with name "centroTrabajo" has a child element named: p "

  • 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