HTML to PDF

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

  • Source Document (Document) - The html file to be converted into PDF.
  • New Document Name (Text) - Name for the newly created PDF Document.
  • New Document Desc (Text) - Description of the output PDF Document.
  • Save In Folder (Folder) - Folder to which the output PDF Document to be saved in.

Outputs

  • New Document Created (Document) - The output PDF file.
  • Error Message (Text) - Error message received.
  • Error Occurred (Boolean) - Set to true on the occurrence of error.
Anonymous
  • Hi Vuram team, I've been doing some testing with this plugin and sometimes it will fail silently, like the issue Andrei is having below. This failure does indeed hold the app-server node hostage, meaning any other processes on it will eventually time out.

    This could be a problem for businesses that rely on this plugin for their processes, as the only way you can track this is either via looking at long running processes or having built a failsafe mechanism for processes that run for over a period of time.

    If you'd like a couple of HTML documents that we've been able to crash it with, please email me and I can send them across.

  • We have encountered an issue with the plugin’s HTML-to-PDF conversion. When attempting to render a tick mark  inside a checkbox in the generated PDF, the tick mark is not displayed as expected. Instead, it is converted into a # symbol in the PDF output. This issue appears to be related to font or Unicode character support during the conversion process.

    As a workaround, we are currently displaying a tick mark inside square brackets (e.g., [[emoticon:7e405c0fb3114c2594c00fd89a9d9667]]) next to the label to indicate selection. 

    Could you please advise if there is a recommended approach or any planned updates to support proper rendering of tick marks in PDF output? Any guidance or improvements would be appreciated.

  • Hello, 

     There is some problem with the plugin since the beginning of August. The plugin appears to be failing silently — process nodes remain unattended, and the application engine continuously attempts to convert HTML to PDF without completing the task.

    This behavior is causing the application engine to fill up with stuck processes, which risks leading to a full engine crash and potentially a broader environment failure.

  • Hi,  I am using HTML to PDF(page number and custom font) smart service to generate PDF file in Arial font. but in generated file bold style text is not clearly visible if I open generated file in any browser  and if I use adobe acrobat reader I can see everything clearly. 

    Please help on this, file should be in proper format in all application

  • I had issue in retaining the format of the html template when generating PDF using the PDF from HTML template, but this plugin resolved the issue....:)

  • Hello,

    I have a requirement where I want to build a html file out of a template which would have some special characters i.e Greek characters. 

    The html file is generated properly and even the alphabets are also displayed eg: 

    <td rowspan="1" colspan="1"><p>β</p></td>

    But when the same file is converted to PDF using the HTML to PDF plugin the Greek alphabets are not displayed.

    We are currently using:

    1. HTML Doc from Template to generate the HTML document.
    2. HTML to PDF plugin to convert the HTML into a PDF.

    Can any one suggest what we can do here ,any configuration we can use?

    Regards,

    Salil Raje

  • Hi, if the image size is > 100kb, the image is not added to the pdf. Is there a size limitation for included images?

  • Hi, is there a way to render Chinese characters in the PDF?

  • Health check shows - HTML To PDF Conversion (com.vuram.plugins.htmltopdfconversion) references deprecated Appian APIs
    [deprecated] com.appiancorp.exceptions.AppianException.getMessage(). Team any plan to release updated plugin using latest Appian APIs

  • Hi, 

    What are all types of page format text is supported by this plugin? & Could you also provide a sample input we need to pass for each format?