Generating and downloading a PDF files in a loop

1
Hi All, Is there an issue (or limitation) I’m not aware of for generating and downloading multiple PDF files in a microflow  loop as I’m only getting one file appearing in the browser?     I’m only getting the last generated file?   Cheers Adrian
asked
3 answers
2

I think this is limitation by the browser to prevent spam. What you can do is put all the pdf’s in a zip archive and download that. Check out https://appstore.home.mendix.com/link/app/323/

-Andrej

answered
0

Is it perhaps similar to the Showpage-activity. Meaning it only starts at the end of the microflow (or transaction) and therefor only runs it once, for the latest DownloadFile-acivity.

Try this using a submicroflow for the DownloadFile-acivity (or in the loop use EndTransaction widget, but IMHO that’s dirty and don’t know what happens with it in a loop)

answered
0

Thanks Guys for your help on this.

@ Andrej, I downloaded the zip module from the app store and applied that as per your suggestion - It worked great!

Thanks for the idea. :)

 

Cheers

Adrian

answered