Introduction
The ADSP PDF service allows developers to build templates for their applications to use in generating customized, PDF, documentation for their end users. It bundles together two powerful technologies - Puppeteer and Handlebars - to yield a simple, effective, technique for managing documents requested by end users such as client reports, registrations, certifications, and other official GOA documentation.
Components
Two main components are used for managing pdf templates:
- The ADSP Tenant Admin Webapp, which provides a GUI for developers to build, test and save their templates using HTML, CSS and a custom designed set of embedded template variables,
- APIs to access the saved templates and generate a PDF document using a template and application-supplied values for the input data.
The template engine is based on Puppeteer - used for the HTML/CSS to PDF conversion process, and Handlebars, which manages template customization.
Learn More
- Here are some brief introductions to Puppeteer and Handlebars
- Learn more about how to build a sophisticated template using ADSP’s Template Editor
- Learn more about generating a PDF from a template