PDF Document Generation

Content Type: Module
Categories: Utility,Import/Export

Overview

The Document Generation module allows you to generate pixel-perfect PDF documents based on regular pages in your app. Make use of the full capabilities of the page editor, including the use of snippets, text templates, conditional visibility based on expressions, dynamic classes, etc. Add any existing web widget from the marketplace to your documents, or create your own.

Documentation

Please see Document Generation in the Mendix documentation for details.

Releases

Version: 1.7.0
Framework Version: 9.18.0
Release Notes: - We added `Mendix Cloud Dedicated` to the supported deployment types. Note that we only support apps that allow bi-directional communication with the PDF Service in the Mendix Public Platform. Known issues: - When testing the PDF document generation locally using Chrome or Chromium version 117 or 118, the scaling of your PDF document might be different compared to generated document from the PDF document generation service that is using Chromium version 112 in the Mendix Public Cloud. This issue has been fixed in Chrome version 119, we recommend to update to the latest Chrome release if you run into this issue.
Version: 1.6.0
Framework Version: 9.18.0
Release Notes: - We added a button "Renew app registration" to "Snip_AppRegistration" snippet to manually renew your app registration. This is most useful for apps deployed on Mendix Free Cloud since it's not possible to execute scheduled events. This button will be visible when the app registration is about to be expired within 24 hours or has already expired. Known issues: - When testing the PDF document generation locally using Chrome or Chromium version 117 or 118, the scaling of your PDF document might be different compared to generated document from the PDF document generation service that is using Chromium version 112 in the Mendix Public Cloud. This issue has been fixed in Chrome version 119, we recommend to update to the latest Chrome release if you run into this issue.
Version: 1.5.0
Framework Version: 9.18.0
Release Notes: - We added support for apps running on-premises on Windows or Linux. On-premises apps can make use of Chromium installed on the same (virtual) machine to generate PDFs, instead of connecting to our free PDF document generation service on the Mendix platform. See section 3.3 in the module documentation for details. - We now automatically remove the trailing slash from the App URL when registering your app environment. Known issues: - When testing the PDF document generation locally using Chrome or Chromium version 117 or 118, the scaling of your PDF document might be different compared to generated document from the PDF document generation service that is using Chromium version 112 in the Mendix Public Cloud. This issue has been fixed in Chrome version 119, we recommend to update to the latest Chrome release if you run into this issue.
Version: 1.4.0
Framework Version: 9.18.0
Release Notes: - We added support for Studio Pro for Mac (future release) - We fixed the inconsistent letter spacing in font rendering when using the PDF document generation service in the Mendix Public Cloud (ticket #203484) Known issues: - When testing the PDF document generation locally using Chrome or Chromium version 117 or 118, the scaling of your PDF document might be different compared to generated document from the PDF document generation service that is using Chromium version 112 in the Mendix Public Cloud. This issue has been fixed in Chrome version 119, we recommend to update to the latest Chrome release if you run into this issue.
Version: 1.3.0
Framework Version: 9.18.0
Release Notes: - We added “Mendix for Private Cloud Connected” to the supported deployment types. Note that we only support apps that allow bi-directional communication with the PDF Service in the Mendix Public Platform. - For registering your app environment(s), we now require a personal access token (PAT) instead of your developer API key. The PAT can be created in your Developer Settings in the Mendix Developer portal. For the scope, select 'mx:deployment:read' of the applicable deployment type. Existing app environment registrations stay valid after the module update, you do not need to re-register your app. Known issues: - When testing the PDF document generation locally using Chrome or Chromium version 117 or 118, the scaling of your PDF document might be different compared to generated document from the PDF document generation service that is using Chromium version 112 in the Mendix Public Cloud. This issue has been fixed in Chrome version 119, we recommend to update to the latest Chrome release if you run into this issue.