Hi all,We want to allow our users to download a PDF where some data is diplayed but it is not working for us, unfortunately... We are using the Mendix PDF Document Generation module.We have made a separate object (let's say it's called "ExportPDF"), with some entities (let's use the example of "CustomerName"). In the PDF page we then want to display the CustomerName, but the container where we refer to this entity is not visible at all. Other containers where we do not refer to other entities are being displayed.We checked the access rules, tried different things with data views, I think the parameters should be correct and when debugging I do see the CustomerName being passed on so we don't really know what else we can do to resolve this.Has anyone else ever had this issue? Or have any suggestions on how to fix this? Thank you in advance!Kind regards,Tjitske
asked
Tjitske Elings
1 answers
1
Hi Tjitske, try using an end- and start-transaction right after committing your object that you use for the PDF generator. This way the Java action actually finds the object in the database and can use the data. Let me know if this helps?