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
  • Hi Everybody,

    we got the same issue about compressing multiple lines into one. We did a downgrade of the plugin.

    Marco S.

  • Currently we have managed to inject plain text to MS Word, using XML files and the advanced templating plugin.

    We need to have rich-edit box (by Vuram?), let the user customize text content (including pictures) and then inject the rich-text content into Microsoft Word, using the advanced templating plugin. Passing rich-text content through XML seems not feasible. Can you help?

  • Is there any updates on the issue with "Convert DOCX to PDF" compressing multiple lines into one? It's impacting us as well on the newer versions of this plugin.

  • For dynamic MS word generation features, Appian ADT (Advanced document templating) plugin provides ready functionalities. Can anyone confirm the Plugin will be backward compatible in higher versions after Appian version upgrades.

  • Hi,

    I have tried to use a SVG file as the logo parameter to act as the input for "Image" field in DOCX From Dynamic Template smart service, but am facing an error when the node runs. The error is reflected as such:

    freemarker.template.TemplateModelException: Method "public java.lang.String fr.opensagres.xdocreport.document.images.AbstractImageRegistry.getWidth(fr.opensagres.xdocreport.document.images.ImageProviderInfo,java.lang.String) throws java.io.IOException" threw an exception when invoked on fr.opensagres.xdocreport.document.docx.images.DocxImageRegistry object "fr.opensagres.xdocreport.document.docx.images.DocxImageRegistry@92d8c46". See cause exception.

    The failing instruction:
    ==> ${___ImageRegistry.getWidth(___imageI... [in template "fr.opensagres.xdocreport.document.docx.DocxReport@59d76500!word/header2.xml" at line 4, column 1343]

    JPG and PNG files work fine. Is this a technical limitation of using this smart service and are there any other options for generating documents based on a word document template? Thank you.

  • Hi, have you found any solution? We just updated the plugin and had this same problem, very worrying

  • Try editing the field and confirm that the MergeField -> Field Name is unique for each of your data inputs. 

  • v1.0.10 Release Notes
    • Fixing issue with generating multiple documents concurrently
  • Hi,

    Copied the provided template and added some fields. But in the final output file, its copying the field name in all the fields.

    Template: 

    XML Data Model:

    ="<project>
    <number>12345</number>
    <name>Scoring Model Management System (SMMS)</name>
    <type>Project</type>
    <solution>Tableau</solution>
    <description>This is a sample project.</description>
    </project>"

    Output file:

    Please let me know if I am missing something.

    Thanks.

  • Hi, are there any updates on this issue? My team is experience an issue that sounds similar after our update to the latest version of the plug-in. I've attached an image of the compression that is occuring in the pdf.