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
  • Thank you for your reply, Chris. We will try troubleshooting in that way.

  • Hi,

    I saw this recently myself, and the source of the issued ended up being a bad reference anchor link. Removing it resolved the issue for me. I'd suggest troubleshooting the file being generated by removing segments until it generates the PDF successfully and then focusing on that segment of the docx file to find the issue.

    Thanks,

    Chris

  • Hi Team,

    We are observing issues with the latest version of the DOCX to PDF feature that worked in the 1.x version of the plugin.  New PDFs are misaligned in comparison to previous versions and their corresponding docx files.  Are there any known workarounds or plans to release a fix? 

  • Hi,

    we are running Appian 25.3 and we upgraded the plugin from version 1.1.1 to the latest version 3.0.1. Now the "PDF from DOCX" node is throwing an error with message "Exception Exporting Package".

    Is this occurring for someone else? How can we solve it?

    Thank you.

    Lorenzo

  • Hi,

    when we generate a word document with an image example:

    {logo: CONS!APP_IMAGE} works perfectly, but when I have more than one image in the template.

    For example logo2 and I call the smart service as follows {logo: CONS!APP_IMAGE, logo2: CON!APP_IMAGE2} I get the following error:

    freemarker.core.NonSequenceOrCollectionException: The value you try to list is an extended_hash+string (fr.opensagres.xdocreport.document.images.ByteArrayImageProvider wrapped into f.e.b.StringModel), thus you must specify two loop variables after the "as"; one for the key, and another for the value, like <#... as k, v>). ---- FTL stack trace ("~" means nesting-related): - Failed at: #list logo as logo [in template "fr.opensagres.xdocreport.document.docx.DocxReport@7f2dbfc!word/document.xml" at line 4, column 6773]

    How do I insert different images?
    Thanks
  • Is there a solution to this?  Thanks

  • v 3.0.1 Release Notes

    • Upgraded the commons-io, commons-lang3, docx4j-core libraries for fixing vulnerabilities.

  • When will this plugin be upgraded to be compatible with Appian 25.X and higher?

  • We are facing similar problems with the DOCX to PDF smart service. The font and formatting are not intact after the conversion to PDF, which is causing a significant difference compared to the previous version, specially with documents having tables.

  • Would it be possible to add a “Release Notes” filter under the comments section? This would help users quickly access release notes without sifting through general comments.