HTML to PDF

Overview

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 introduces the 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
  • Dear Group,

    After moving to version 23.4 and updating the plugin to the newest version, the smart service is erroring out with a message: "java.lang.NullPointerException". It is not specific to any process, just anything we are trying to convert is failing.

    Anyone facing the same problem ?

  • I got it resolved, but don't know the root cause, however hope it can help someone.

    So what you need to do is add any document as 'Font Document', close the smart service, open it again and remove the document. Maybe after the above action, service is sending 'empty' instead null, but just a guess.

    Important is that it get back to work.

Comment
  • I got it resolved, but don't know the root cause, however hope it can help someone.

    So what you need to do is add any document as 'Font Document', close the smart service, open it again and remove the document. Maybe after the above action, service is sending 'empty' instead null, but just a guess.

    Important is that it get back to work.

Children