Download file behaviour

0
In mendix I have an pdf file of an invoice. To show this invoice I use the download file action. But it looks that after the download the pdf is gone in Mendix. Is this the usual behaviour? Why is the file deleted? Regards, Ronald
asked
3 answers
1

The FileDocument entity comes with a DeleteAfterDownload boolean that defaults to false. Do you happen to be adjusting this value?

answered
1

We had the same problem (Modeler 2.4.6.2). It was caused by the property MaxFileSize. All uploaded files larger then the default 5Mb (MaxFileSize) couldn't be downloaded. maybe it's the same issue in 2.5.3. Just increase the maxFileSize property.

answered
-2

Do you commit the object you create your document in?

answered