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

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

Children
No Data