Dynamic Document Generator

Overview

This version is for Appian 23.2 and above. Cloud customers on a lower version of Appian that want to install this plugin should open a support case. Self-managed customers can find the latest jar for Appian 23.1 and lower version in the folder pre-23.2

Convert, merge and generate DOCX, PDF and XML files automatically in an Appian process

Key Features & Functionality

  • PDF from single DOCX with Fonts
    • Convert multiple DOCX files into a single PDF. Please note that the translation from DOCX to PDF is not always 1:1. The template may need to be tweaked or simplified to achieve the desired results.
  • PDF from DOCX without Fonts
    • Convert multiple DOCX files into a single PDF. Please note that the translation from DOCX to PDF is not always 1:1. The template may need to be tweaked or simplified to achieve the desired results. This will not support fonts.
  • PDF from XSL-FO Transformation
    • Uses XSLT to convert an XML to XSL-FO which is then converted to PDF
  • PDF from HTML
    • Converts an HTML document into a single page PDF.
  • PDF from HTML Transformation
    • Uses XSLT to convert an XML to HTML which is then converted to PDF
  • Text Doc from XSLT
    • Uses XSLT to convert an XML to a plain text document (such as HTML, another XML doc, etc).
  • DOCX from XHTML With Styling
    • Converts a valid XHTML file into a DOCX, allowing you to provide your own template file for style reference. Useful for creating dynamic documents that are editable
  • DOCX Merge
    • Merges one or more DOCX files together. If a header or footer exists in any document, they will be removed during the merge process.
    • A configurable separator can be specified: none, line break or page break

Function: xsltransform - Transform source XML using XSL Transform

Anonymous
Parents
  • Hi,

    I am trying to use the Configure PDF from Single DOCX (with Fonts) function following a plugin upgrade. When I set the "Create New Document" property to false the plugin creates a new version (and the document is converted to a pdf) but the extension strangely remains docx. I do not suppose this is the intended behavior, is there a way to force the extension to change in this scenario?

    With a previous version of the plugin I did not have this problem. Any help would be greatly appreciated thanks.

  • Can you explain how you have configured the smart service? Which document are you passing in as the existing document - are you using the docx that is being converted? 

    If you are setting the Create New Document parameter to false, then you should be supplying a pdf as the Existing Document, it's not meant for converting the input docx to a pdf file (Appian does not allowing changing of a document extension).  The use case for this parameter would be if you were versioning a pdf alongside a versioned docx.

Comment
  • Can you explain how you have configured the smart service? Which document are you passing in as the existing document - are you using the docx that is being converted? 

    If you are setting the Create New Document parameter to false, then you should be supplying a pdf as the Existing Document, it's not meant for converting the input docx to a pdf file (Appian does not allowing changing of a document extension).  The use case for this parameter would be if you were versioning a pdf alongside a versioned docx.

Children
  • Thank you Michael for getting back. We are indeed passing the docx file as the existing document, it was working with the previous (admittedly quite old) version of the plugin, it was saving the new version as a pdf. It was not the same smart service though as we were not passing the font files. Looks like we need to change our logic slightly then.