Downloading multiple pdf files

  

Hello everyone,

I want to create a loop that involves creating and downloading multiple pdf files. The problem I've encountered is that the download action can only substitute an End node, and I'm not able to include it inside the loop.

I'm hoping that you can give me some suggestions on how to solve this or perhaps a workaround.

Thanks in advance,

Anna

Solution

Hi,

Zip the files is a option to you? 

You can check how to do it in here.

https://www.outsystems.com/forums/discussion/21345/how-to-use-zip-extension/

Or you can merge all the pdf's in one. You can use the forge component https://www.outsystems.com/forge/component/466/itextsharp/

Best Regards,

Marcelo

Solution

If a zip file is not a solution you can loop through  your files and call a screen that ends up with a download file. You can pass an id as a parameter  ,load the binary data and go to download

Marcelo Ferreira wrote:

Hi,

Zip the files is a option to you? 

You can check how to do it in here.

https://www.outsystems.com/forums/discussion/21345/how-to-use-zip-extension/

Or you can merge all the pdf's in one. You can use the forge component https://www.outsystems.com/forge/component/466/itextsharp/

Best Regards,

Marcelo

Merging them all into one pdf isn't a solution in this case.

I've been trying to implement the Zip solution and I think it's finally working OK.

Thanks!

Glad I could help.

Regards,

Marcelo