Skip to content

somaromero/directus-extension-pdf-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Builder Operation for Directus

The “PDF Builder Operation” extension for Directus allows automated generation of PDF files using custom JSON templates. This operation can be integrated within Directus workflows, allowing the creation of highly customized PDF documents. Use dynamic values extracted from other operations via operationKey, such as {{read_users_collection.first_name}}, to customize the PDF content.

Installation

Refer to the Official Guide for details on installing the extension from the Marketplace or manually.

Features

  • 📄 Generate PDF files based on JSON content
  • 🔗 Add external fonts via URL
  • 🔗 Add internal fonts via UUID
  • 📁 Custom file name and path
  • 🗂️ Store generated PDF files in Directus

Usage

Add the PDF Builder Operation via the flow builder and configure the operation with the desired settings. The operation will generate a PDF file based on the provided JSON content.

General Form View

This view shows the general configuration form for the PDF Builder operation, where you can define the operation key, permissions, filename, storage, and the JSON template that will be used to generate the PDF.

Operation General Form View