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
  • 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.

  • Hello, can you please share an example snippet of the template you are using which is causing the error? Do you happen to know which section is being parsed as XPath?

  • Hi Team, we are using 1.0.13 version. Seeing the following problem since after upgrading to 24,2 version.

     “Please contact a system administrator for assistance. freemarker.template.TemplateModelException: No XPath support is available (add Apache Xalan or Jaxen as dependency). This is either malformed, or an XPath expression: ./”

    Even after upgrading the plugin to 1.1.1, getting same error. 

    Any suggestions would be appreciated.

  • DOCX from a DOCX Template smart service is working for our Appian cloud environments after upgrading to the latest version (1.1.1) of this plug-in. We had issues with 1.0.7 after upgrading to v24.2.

  • Hi,

    I are using 1.0.7 and upgraded to Appian 24.2 version in my cloud based instance. I see one error "  The amount of time allocated for the completion of an unattended activity was insufficient to allow the activity to complete " . Can somebody help me with it ?