- 05 Jan 2024
- 1 Minute to read
- Print
- DarkLight
HTML to PDF
- Updated on 05 Jan 2024
- 1 Minute to read
- Print
- DarkLight
Step Details | |
Introduced in Version | --- |
Last Modified in Version | 7.12.0 |
Location | Data > PDF |
The HTML to PDF step converts a text or HTML input file into PDF format. It is used with the Create File step to create the PDF file. One use case for this step may include converting a patient's old text-formatted medical record into a PDF.
Known Issue:
Decisions uses the Aspose library to convert HTML to PDF format. Aspose library does not convert the hyperlinks within the HTML file. Thus, after conversion, the hyperlinks will not work. One Solution is to use the ‘HTML to Word Document’ step first and then use the ‘Convert Word to PDF’ step.
Properties
Configuration
Property | Description | Data Type |
---|---|---|
Get HTML From File | Changes the HTML input data type from String to FileData | Boolean |
Set Page Dimensions | Includes additional inputs to further customize the PDF being created. Page Height, Page Width, Page Margins. Page Dimensions are set in inches.
| Boolean |
Use Custom Page Numbers | This will replace the "Include Page Numbers" input with "Custom Page Numbers" input. | Boolean |
Inputs
Property | Description | Data Type |
---|---|---|
HTML | HTML file to convert to PDF | String/ |
Include Page Numbers or Custom Page Numbers | Determine whether Page Numbers are included and include a dynamic way of displaying the Page Numbers. | Boolean/ |
Page Number Alignment | Determines whether the Page Number will be Left, Right, or Center. | HorizontalPlacement |
PDF File Name | Name of the pdf file, include .pdf | String |
Outputs
Property | Description | Data Type |
---|---|---|
PDF File | Converted PDF | FileData |
Error Message | Error message | String |
Related Information
Example Labs:
Saving Sent Emails as PDFs
Converting Forms to PDFs for Email
Combining PDFs Using a Custom Group Action
Forum Posts:
Html To Pdf
Conversion Error For HTMLtoPDF Step
Set Page Dimensions Checkbox In Html To PDF Step