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
Function: xsltransform - Transform source XML using XSL Transform
Let me look into this
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? Sylvain Furt?
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
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.
Hi,
Some interesting discussions for this plugin
https://community.appian.com/discussions/f/general/10448/docx-from-dynamic-template---checkbox
https://community.appian.com/discussions/f/general/14139/how-to-convert-sail-form-to-pdf-format/64112#64112
community.appian.com/.../pdf-generation-using-xsl-fo
Hope it helps someone
Jose
Hello Anushrid,
are you storing the xml in a variable? if that is the case would you be able to pass the xml directly to the node and don't store it into a variable or at least put it as hidden? (i would prefer not to have the variable)
I would recommend as well to create the xml using a nested CDT Structure and then use the toxml function directly in the node.
hope this helps
I am using "PDF from XSL FO Transformation" smart service to generate a PDF doc. The workflow is not working as per the requirement when the total characters of the XML Document exceeds approximately 27,000 characters.However, in our application, we may have more than 60,000+ characters.Any suggestions?
Hi All,
I need to generate PDF from HTML file using PDF from XSL-FO Transformation smart service. Can anyone suggest a way to convert html file into xsl-fo file. in the html file, i need to display table data dynamically and image in one of the column which will also be shown dynamically. Also, for the text field data in tree structure.
Any suggestion would be highly appreciated!