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
  • Hi, Facing an issue to render the image's in the PDF. Images are stored in the appian application folder. 

    Seems like we may need to convert all those images into base 64 but unable to find an option to convert an image to base64 string from rule directly. 

    Suggest me the best way to render the images in PDF that are stored in the appian folder.

Comment
  • Hi, Facing an issue to render the image's in the PDF. Images are stored in the appian application folder. 

    Seems like we may need to convert all those images into base 64 but unable to find an option to convert an image to base64 string from rule directly. 

    Suggest me the best way to render the images in PDF that are stored in the appian folder.

Children
No Data