1.2.0 โ€ข Published 10 months ago

directus-extension-pdf-builder v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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

Font URL Configuration

In this view, you can configure an external font by providing the URL. Ensure that the URL points to a TTF font file, as only TTF fonts are supported.

Operation Font URL Form

Font UUID Configuration

This view allows you to select an internal font stored in Directus by using its UUID. The font must be of TTF type, and the UUID is obtained from the file's URL within Directus.

Operation Font UUID Form

1.2.0

10 months ago

1.1.0

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.2

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago