Printing behavior in a Mendix App

0
We have a requirement for generating a PDF at the final step of a form, automatically opening it and then printing it. How can this behavior be created in a Mendix ?
asked
1 answers
3

Hi Daniel,

1º You can create a button that calls a nanoflow

2º – Create and JS Action with the following code

3º Add it to your nanoflow

4º Retrieve/Generate the PDF that you need to print and create a “PDF_URL” that will be use on the JS Action 

 

5º – Add the PDF_URL variable to the JS action as an input 

 

And That’s it. Hope it helps!

Best Regards,

Ricardo Pereira

answered