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
  • Hello,

    We are planning to upgrade this plugin from 1.4.1 to latest version 1.8.7. 

    DOCX from XHTML smart service is working in older deployed plugin but once we deploy new version 18.7. we are getting below error:

    javax.resource.spi.work.WorkCompletedException: java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException

                at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:247)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

                at java.lang.Thread.run(Thread.java:750)

    Caused by: java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException

                at org.docx4j.org.xhtmlrenderer.docx.DocxRenderer.<init>(DocxRenderer.java:160)

                at org.docx4j.org.xhtmlrenderer.docx.DocxRenderer.<init>(DocxRenderer.java:85)

                at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.getRenderer(XHTMLImporterImpl.java:271)

                at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.convert(XHTMLImporterImpl.java:538)

                at com.appiancorp.ps.xmlfo.ss.DocxFromXhtmlWithStyling.runSmartService(DocxFromXhtmlWithStyling.java:70)

                at com.appiancorp.ps.xmlfo.ss.AbstractDocumentGeneration.run(AbstractDocumentGeneration.java:49)

    iText.jar exist in the older version (DynamicDocumentGen-1.4.1), however, missing in newer version(dynamic-document-generator-1.8.6 & dynamic-document-generator-1.8.7), which is required for generating docx.

    We tried adding iText.jar in latest 1.8.7 version and it is working. 

    Any plans to add back the iText.jar back in official release of this plugin?

    As per release note of 1.8.6, "Removed dependency on iText", can you pelase suggest how can we get the DOCX to XHTML working back without iText.jar? 

Comment
  • Hello,

    We are planning to upgrade this plugin from 1.4.1 to latest version 1.8.7. 

    DOCX from XHTML smart service is working in older deployed plugin but once we deploy new version 18.7. we are getting below error:

    javax.resource.spi.work.WorkCompletedException: java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException

                at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:247)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

                at java.lang.Thread.run(Thread.java:750)

    Caused by: java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException

                at org.docx4j.org.xhtmlrenderer.docx.DocxRenderer.<init>(DocxRenderer.java:160)

                at org.docx4j.org.xhtmlrenderer.docx.DocxRenderer.<init>(DocxRenderer.java:85)

                at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.getRenderer(XHTMLImporterImpl.java:271)

                at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.convert(XHTMLImporterImpl.java:538)

                at com.appiancorp.ps.xmlfo.ss.DocxFromXhtmlWithStyling.runSmartService(DocxFromXhtmlWithStyling.java:70)

                at com.appiancorp.ps.xmlfo.ss.AbstractDocumentGeneration.run(AbstractDocumentGeneration.java:49)

    iText.jar exist in the older version (DynamicDocumentGen-1.4.1), however, missing in newer version(dynamic-document-generator-1.8.6 & dynamic-document-generator-1.8.7), which is required for generating docx.

    We tried adding iText.jar in latest 1.8.7 version and it is working. 

    Any plans to add back the iText.jar back in official release of this plugin?

    As per release note of 1.8.6, "Removed dependency on iText", can you pelase suggest how can we get the DOCX to XHTML working back without iText.jar? 

Children
No Data