PDF Document Generation Widget Issue on Siemens Industrial Edge Device

0
Environment Mendix version: 10.11.0 PDF Document Generation pluggable widget version: 1.9.0 Deployment: Siemens Industrial Edge Device Issue Description I'm encountering an issue with the PDF Document Generation widget when deploying my Mendix application to a Siemens Industrial Edge Device. The PDF generation works correctly when running the application locally, but fails when deployed to the edge device. Observed Behavior Local environment: PDF downloads successfully Edge device: Error occurs when attempting to download the PDF Error Log When trying to generate the PDF on the edge device, the following error appears in the application logs: Caused by: com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: Unable to generate PDF document. For use in Mendix cloud, your app environment needs to be registered first. Please reference the documentation for details. at Smart.ACT_GeneratePDF (JavaAction : 'Generate PDF from page') Caused by: java.lang.RuntimeException: Unable to generate PDF document. For use in Mendix cloud, your app environment needs to be registered first. Please reference the documentation for details. Questions Is it necessary to register my application with the Mendix cloud for the PDF Document Generation widget to function, even though it's an edge application? Could this issue be related to Node.js or Chromium configurations on the Siemens Edge Device? (Note: I don't have direct access to modify these settings) Are there any specific steps or configurations required to make the PDF Document Generation widget work in an edge computing environment, particularly on a Siemens Industrial Edge Device? Additional Information The application is specifically designed for edge computing and is not intended to be deployed to the Mendix cloud. All other aspects of the application function correctly on the edge device; the issue is isolated to the PDF generation feature. Any insights or suggestions on resolving this issue would be greatly appreciated. Thank you in advance for your help!
asked
1 answers
2

Hi,

 

I hope you're doing well.

 

I'm sorry to inform you that we do not support the "PDF Document Generation" module. This is because it requires additional installations (Chromium and Node.js) on the Edge Device, as outlined in the documentation of the module.

 

We don't provide support for the installation, configuration, or maintenance of these packages.

 

However, I recommend you to take a look at the Document Templates for generating PDF documents:

 

LINK

 

Also, for Mendix App Development on Industrial Edge you must use MTS versions of Studio Pro since it's the one we support. Please use Studio Pro MTS 10.6.x version.

 

Please note: Version 10.12.x is also an MTS version. However, the current version IE Plugin is not functioning with this version of Studio Pro at the moment. We are working on releasing a compatible version of the IE Plugin for version 10.12.x soon.

 

BR,

Rafael Curiel.

answered