Actions26
- SQL Actions
- Client Access Actions
- User Access Actions
- Tools Actions
Tools → HTML to PDF
AI-generatedSummary
Render an HTML string into a PDF file using a Chromium-based browser engine with customizable rendering, PDF options, and metadata inclusion.
Inputs
- toolCategory — Select the group of tools to use; defaults to 'Documents' for document conversion.
- html (required) — HTML string to render into the PDF.
- css — Optional CSS styles to inject into the HTML document before rendering.
- fileName — Name of the generated PDF file; defaults to 'document.pdf'.
- outputBinaryProperty — Binary property key where the generated PDF binary data will be stored; defaults to 'data'.
- browserOptions — Browser launch and page rendering controls including executable path override, browser channel selection, timeout (ms), and JavaScript enable flag.
- pdfOptions — PDF rendering options such as page format, orientation (landscape), background printing, CSS page size preference, scale, page readiness event to wait for before printing, CSS media emulation, render delay, max input HTML size, max PDF output size, margins, and optional header/footer HTML templates.
- includePlugToolsMetadata — Flag to include generation metadata in the output JSON; defaults to true.
- metadataProperty — JSON property name where metadata should be stored if included; defaults to '__plugTools'.
Output shape
a single binary file representing the rendered PDF stored in the specified binary output property
The operation respects size limits on input HTML+CSS and output PDF. Metadata about generation is included in JSON output property if enabled. The PDF rendering waits for a specified readiness event before printing and can delay additionally. JavaScript execution in rendering is disabled by default but can be enabled.