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,

    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.

  • I am working on a document template with Advanced Document Templating and I need to apply bold formatting to specific cells in a dynamic table based on a condition. Does anyone have an idea how to do this? Thank you. I tried using an if, but is not working 

    «@before-row[#list doc.project.rowvalues »
    [#if d.@bolt == 'Y']<adt:bold>«${d.@name}»</adt:bold>[#else]«${d.@name}»[/#if]
    «@after-row[/#list]»

  • has anyone been able to successfully apply URL links to a list of plain-text using this plug-in? I've attempted to use HTML and Wordpress/Freemarker syntax using LibreOffice, but neither method has proven successful so far.

  • Same problems for us : image is apart and font are not correct.