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
Parents
  • Hello there, My HTML doc has some hidden tags which after converting to pdf doc gets displayed on the converted pdf.   

    <This is my DIV element> is hidden in my HTML doc as you see in the screenshot, but the converted pdf doc renders it.

    Can you please let me know how can I get it fixed? Thanks in advance

  • hi

    Currently, we do not handle hidden tags when generating pdf. We will analyze this feature in the next versions. From Appian functions, we can filter out the HTML Elements hidden when generating the input HTML for the smart service as a workaround

Comment Children
No Data