Overview
Version 1.0.0 - Accepts inline and internal styles and also adds images in the PDF if they are publicly hosted. Based on content, multiple pages will be created in the PDF. The Smart Service will accept HTML files with properly closed tags including <br> and <img> tags otherwise the node will be errored out.
Version 2.0.0 - Everything with Version 1.0.0 and ability to generate PDF from HTML with landscape orientation.
Key Features & Functionality
Inputs
Outputs
Please raise an Appian support ticket to uninstall the existing plugin and re-install it.
Hi jasmithak,
Thanks for reporting the issue.
We will try to reproduce the issue and update the plugin if it exists.
More data is being truncated, and the produced PDF only has one page. Is there away to generate doc with more pages.
The plugin is working as expected in dev and production but the plugin is failing and we are getting the following error is test environment:
Hello, are there any examples of how to use the <img> with a document from Appian?
Hi, ben.crawley,
We are working on this issue and upload the fix sooner.
Thanks,
Vignesh E
Hi jeank0002,
We were working on the issue mentioned and will fix it in the next release
Thank you,
Hi Ben,
I am facing the same error.
FYI, new version is throwing an error and pausing process execution:
2022-09-26 15:33:18,796 [Appian Work Item - 172 - WorkID 107 - execution02 - process 536871483 - model 1172 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=536877167, classname=com.vuram.plugins.htmltopdfconversion.HtmlToPdfConversion java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.createInstance(DefaultActivityExecutor.java:247) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.createActivityInstance(DefaultActivityExecutor.java:211) at com.appiancorp.process.runtime.framework.DefaultUnattendedActivityExecutor.validate(DefaultUnattendedActivityExecutor.java:18) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:84) at com.appiancorp.process.engine.UnattendedJavaActivityRequestResponseCreator.getJavaActivityResultResponse(UnattendedJavaActivityRequestResponseCreator.java:21) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.getJavaActivityResultResponse(UnattendedJavaActivityRequest.java:67) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55) at com.appiancorp.common.persistence.data.AppianDataUserContextProvider.executeWithConsistentDataReads(AppianDataUserContextProvider.java:143) at com.appiancorp.process.engine.ProcessContinuationRequest.executeOuter(ProcessContinuationRequest.java:68) at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:129) at com.appiancorp.process.workpoller.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:36) at com.appiancorp.process.workpoller.WorkItem.run(WorkItem.java:110) at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:239) 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.Error: Unresolved compilation problems: The import org.apache.log4j cannot be resolved Logger cannot be resolved to a type Logger cannot be resolved Logger cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type at com.vuram.plugins.htmltopdfconversion.HtmlToPdfConversion.<init>(HtmlToPdfConversion.java:12) ... 20 more