Icon

02 Deploy Data by Exporting Report as PDF and HTML

<p><strong>Deploy Data: Export a Report as static PDF or HTML</strong></p><p>This workflow demonstrates how a report can be <strong>exported </strong>from a KNIME workflow <strong>to a PDF or HTML file</strong>.</p><p>In this example, we build a report showing the total distribution of work classes in a population and how income is distributed over different work classes. In the "Visualization" component, we create a summary report that is shared in two ways: As a <strong>static PDF document</strong> for printing or as a <strong>static HTML file</strong> for viewing in a web browser.</p><p>To see the results, execute the workflow and open the files (saved in the workflow data area of the workflow).</p>

URL: KNIME Learning Center https://www.knime.com/learning
URL: KNIME Cheat Sheet: Building a KNIME workflow for beginners https://www.knime.com/cheat-sheets/building-knime-workflow-beginners
URL: KNIME Cheat Sheet: Data visualization with KNIME Analytics Platform https://www.knime.com/files/data_visualization_with_knime.pdf
URL: KNIME Documentation: Report Designer Extension - User Guide https://docs.knime.com/ap/latest/report_designer_user_guide/
URL: Webinar: KNIME101: How to Generate PDF Reports with KNIME https://youtu.be/gfn97mwMHC0?si=maHImPYAR6WX5Yhr

Deploy Data: Export a Report as static PDF or HTML


This workflow demonstrates how a report can be exported from a KNIME workflow to a PDF or HTML file.

In this example, we build a report showing the total distribution of work classes in a population and how income is distributed over different work classes. In the "Visualization" component, we create a summary report that is shared in two ways: As a static PDF document for printing or as a static HTML file for viewing in a web browser.

To see the results, execute the workflow and open the files (saved in the workflow data area of the workflow).

Export report to PDF file

Step 1: Click on the "Report PDF Writer" node to open the configuration dialog.

Step 2: Specify the "Output location" where you want to save the PDF document. Click the yellow folder button to browse your files. Here, we selected "Embedded data" to write the report to the workflow data area.

Step 3: Click "Apply and Execute". The node will turn your composite view into a PDF file.

Export report to HTML file

Step 1: Click on the "Report HTML Writer" node to open the configuration dialog.

Step 2: Specify the "Output location" where you want to save the PDF document. Click the yellow folder button to browse your files. Here, we selected "Embedded data" to write the report to the workflow data area.

Step 3: Click "Apply and Execute". The node will turn your composite view into a HTML file.

Workflow complete!

Keep the momentum going by exploring Just KNIME It! on the Hub to challenge yourself and see how these nodes can be integrated into more complex workflows and use cases.

Sort by workclassalphabetically
Sorter
Pivot on incomeby workclass
Pivot
Export as HTML report
Report HTML Writer
Define layoutof report
Report Template Creator
Export as PDF report
Report PDF Writer
Readadult.data
File Reader
Build report
Visualization

Nodes

Extensions

Links