IndiuMX UTF QRCode Generator
Overview
IndiuMX QRCode Generator
Overview
IndiuMX QRCode Generator is a Mendix custom widget that enables UTF-based QR code generation.It leverages the powerful ZXing Java SE Core library (javase-core:3.5.1) and is compatible with Mendix version 10.18.1.
Features
• Generates QR codes from UTF-8 encoded text• Customizable height and width of the QR image• Easily integratable via Mendix Java Action• Suitable for mobile and web platforms
Widget Configuration
Java Action: UTFQrcodegeneration
Input Parameters:• InputString (String): Text to encode into the QR code• Height (Integer): Height of the generated image• Width (Integer): Width of the generated image
Output:Returns an image object (FileDocument – based on your implementation)
Widget Installation
• Import the MPK file into your Mendix project• Add javase-core-3.5.1.jar to the /userlib directory• Rebuild the project to resolve classpath dependencies
Usage in Mendix
• Drag the Java Action from the toolbox• Set input parameters in a microflow or nanoflow• Use the returned image to display in a Dynamic Image Viewer or export to PDF
Sample Microflow (High-Level Steps)
• Create Object: QR entity• Call Java Action: Qrcodegeneration• Store Result: Save QR as a file or image in an entity• Show Page: Display the QR image
Development Documentation
Prerequisites
• Java 11+• Mendix Studio Pro 10.18.1• javase-core-3.5.1.jar
Key Files
• Qrcodegeneration.java located at:javasource/indiumxqrcodegenerator/actions/
Troubleshooting
Issue: package com.google.zxing does not existSolution: Ensure the JAR is in /userlib and clean-build the project
Issue: QR Image not showingSolution: Check that the image entity is committed and accessible to the page
Documentation
Typical usage scenario
IndiuMX QRCode Generator is a Mendix custom widget that enables UTF-based QR code generation.It leverages the powerful ZXing Java SE Core library (javase-core:3.5.1) and is compatible with Mendix version 10.18.1
Features and limitations
• Generates QR codes from UTF-8 encoded text• Customizable height and width of the QR image• Easily integratable via Mendix Java Action• Suitable for mobile and web platforms
Dependencies [optional]
javase-core-3.5.1.jar
Installation [optional]
NA
Configuration [optional]
NA
Known bugs [optional]
NA
Frequently Asked Questions [optional]