Dynamic Document Generator

Provides the following merging and conversion Smart Services:

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

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

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

Children