PDF Viewer
Overview
The Systima PDF Viewer is a lightweight, powerful, and easy-to-use Mendix pluggable widget designed to display PDF documents directly inside your applications. It lets users preview, scroll, and interact with PDFs without leaving the Mendix page—making it ideal for dashboards, portals, and document-driven apps where users need quick access to files.
Built with performance and usability in mind, the widget supports both Mendix FileDocuments and Base64-encoded PDFs, ensuring flexibility for different data sources. Whether you’re serving documents stored in your Mendix environment or retrieving them from external systems, the PDF Viewer handles them seamlessly.
Its responsive design allows it to adapt to any layout, from desktop to mobile, while configurable properties like width, height, and scrollbars give you full control over how the content appears. You can enable or disable borders and page separators for a clean, professional look that fits your application’s branding.
Because the widget is based on modern web technologies and PDF.js, it delivers high rendering accuracy, smooth scrolling, and efficient memory use—even for large or multi-page documents. It is also offline-capable, allowing users to view cached files when the Mendix app runs in offline mode.
Typical use cases include:
- Previewing uploaded files in Mendix apps.
- Displaying invoices, contracts, or reports directly in a workflow page.
- Building document repositories where users can quickly browse PDFs.
- Embedding automatically generated reports or statements.
The widget integrates easily—no external configuration or dependencies needed. Developers simply drag it onto a page, link it to a file or Base64 attribute, and adjust the styling parameters. Within seconds, the document becomes visible to end-users in a secure, contained viewer.
The Systima PDF Viewer embodies Systima Consultancy’s commitment to delivering elegant, production-grade Mendix components that balance simplicity and capability. Each setting is crafted to provide developers maximum flexibility with minimal complexity.
Whether you’re enhancing a small internal app or deploying a client-facing portal, this widget adds a polished, professional document experience with minimal setup. It’s designed to “just work” in real-world Mendix environments—fast, reliable, and visually consistent.
For developers who value clarity and maintainability, Systima’s widget collection offers the same design philosophy across all tools: robust functionality, clean design, and enterprise-grade quality.
Integrate it once, and your users will always have seamless, embedded access to PDFs—no downloads, no extra steps, just smooth document viewing inside your Mendix app.
Documentation
PDFViewer (Pluggable Widget)
Render PDFs in Mendix using PDF.js. Works with FileDocument, or Base64. Supports paging, zoom, fit, search, and secure headers.
Features
- Source: Mendix FileDocument or Base64.
Requirements
- Mendix 9.24+ or 10.x (web).
- PDF.js worker reachable by the client.
Installation
- Import the
.mpkinto your app. - Place PDFViewer on a page.
- Choose Document source:
- FileDocument: bind File to an entity inheriting
System.FileDocument. - Base64: supply a base64 string (with or without
data:application/pdf;base64,).
- FileDocument: bind File to an entity inheriting