Generate PDF

This handler (com.rierino.handler.PDFExportEventHandler) provides ability to produce well formatted PDF files from HTML content.

Handler Parameters

Parameter
Definition
Example
Default

output.system

Alias of the system to store Excel file produced on

s3_default

-

This handler requires the following dependency added to deployment contents:

implementation (group:'com.rierino.custom', name: 'pdf', version:"${rierinoVersion}")

Actions

ExportPDF

Produces PDF file from given input data and template id. Event metadata fields applicable for this action are as follows:

Field
Definition
Example
Default

inputElement

Json path for the input in request event payload

customer

-

With event metadata parameters as:

Parameter
Definition
Example
Default

inputPattern

JMESPath pattern to apply on input element

{html: text}

-

htmlPath

Json path in payload including html text to convert to PDF

input

html

outputPath

Json path in payload defining the output file path on target file system

file_path

path

This handler is typically used together with Handlebars handler to produce formatted PDF files.

Last updated