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 We are using PDF from HTML smart service and it was working fine till 18.4 version. and it stopped working after 19.1 upgrade. I have checked with Appian support team and they confirmed that error due to plugin issue and asked me to check with plugin author.  

Comment
  • Hi We are using PDF from HTML smart service and it was working fine till 18.4 version. and it stopped working after 19.1 upgrade. I have checked with Appian support team and they confirmed that error due to plugin issue and asked me to check with plugin author.  

Children
  • Sorry - Community apparently doesn't auto-notify about replies here, so I never saw your followup questions Disappointed

  • It appears that it was an issue with the plugin framework, not the plugin itself. Our engineering department released a hotfix to address this.

    Please create a support case to request the latest hotfix to be installed.

  • With recent migration to 19.1 we are also facing this issue. Ours is a cloud platform and this is failing at all the environments. The plugin version is v1.4.1. Please let me know if there is any update available for this plugin.

  • Cloud vs On-premise?

    Dev/Test/Production?

    Version of the plugin?

  • Mike - could you please provide me more info about the environment?

  • PDF from HTML has stopped working for us also since the 19.1 upgrade.  Has anyone been able to find more information on this yet?  ?

    2019-05-01 16:33:36,676 [ThreadPoolTaskExecutor-16815] ERROR com.appiancorp.process.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [(WorkId: 383, WorkType: {Process Id:740474,Point Id:163774} Activity Metadata:{Id:163774,ACPs:{ActivityClassParameter[name=HtmlDocument,it=13,v=674956],ActivityClassParameter[name=CreateNewDocument,it=26,v=1],ActivityClassParameter[name=NewDocumentName,it=3,v=Test PDF from HTML (new)],ActivityClassParameter[name=NewDocumentDesc,it=3,v=],ActivityClassParameter[name=SaveInFolder,it=12,v=279579],ActivityClassParameter[name=ExistingDocument,it=13,v=<null>],ActivityClassParameter[name=PauseOnError,it=26,v=1]},ARVs:{ActivityReturnVariable[name=ErrorOccurred,it=26,v=<null>],ActivityReturnVariable[name=ErrorText,it=3,v=],ActivityReturnVariable[name=NewDocumentCreated,it=13,v=<null>]}}, Response: null, ServerName: execution00)] - Exception: 
    javax.resource.spi.work.WorkCompletedException: java.lang.NoClassDefFoundError: Could not initialize class javax.swing.RepaintManager
    	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:748)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class javax.swing.RepaintManager
    	at javax.swing.JComponent.repaint(JComponent.java:4792)
    	at java.awt.Component.repaint(Component.java:3311)
    	...

  • adding error log for the above issue - 

    It appears that the relevant error is: javax.resource.spi.work.WorkCompletedException: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper 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:748) Caused by: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886) at javax.swing.RepaintManager.<clinit>(RepaintManager.java:238) at javax.swing.JComponent.repaint(JComponent.java:4792) at java.awt.Component.repaint(Component.java:3311) at javax.swing.text.JTextComponent.setEditable(JTextComponent.java:1758) at javax.swing.text.JTextComponent.<init>(JTextComponent.java:309) at javax.swing.JEditorPane.<init>(JEditorPane.java:196) at com.appiancorp.ps.xmlfo.util.XmlFoConverter.fromHtmlToPdf(XmlFoConverter.java:127) at com.appiancorp.ps.xmlfo.ss.PdfFromHtml.runSmartService(PdfFromHtml.java:30) ... ... 3 more Exception in thread "ThreadPoolTaskExecutor-6028" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper You will need to follow up with the creator of the plugin to get this resolved, as the issue appears to be with the plugin itself. The status for this case has been changed to Pending User by Tristan Newmann. 15 April 2019 11:32 PM