Skip to content

PDF export workflow

For the complete module, button, view, workflow and test, use Generate a PDF document.

action/export uses one named view (or its view input port). A Twig template supplies header, content, footer and optional JSON setup blocks. Direct content, header, footer and page_setup action options are ignored. setup overrides export.page_setup.

Keep the webhook synchronous to return a file response. Use action/downloadFile when testing download_offered, which checks Content-Disposition. A valid PDF and its rendered pages need a separate export-service check.

See export options, view resources and test assertions.