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

Annotations and comments
  • 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.
  • Less than 50k income
  • More than 50k income
  • Workclass distribution
  • Report title
  • Read adult.data
  • Pivot on income by workclass
  • Export as HTML report
  • Export as PDF report
  • Define layout of report
  • Sort by workclass alphabetically

Nodes

Extensions

Links