Question
Download 2 files on button click
Hello,
I'm trying to download an excel file that is filled using MSOGenerateExcelFile on click of a button using an activity on refresh section action.
I need to download with the excel a word template in the same activity. When doing this only the last file that is being downloaded in the activity is being downloaded. The other file is not being downloaded. I traced the activity and everything is working correctly. I even tried to run the activity from designer studio the same thing is happening even when I switch the download.
So, how to download 2 files one using MSOGenerateExcelFile and the other using any method without having to zip them??
Thank you.
And if you press it for the first time it download only one file, if you press it again it does nothing even thought the activity work normally.
I found that the reason that this is happening because the download of every file needs new window in Pega.
In my case I need the two files to be downloaded in the same tab of the button and if pressed multiple time to download the two files again and again.
Can it be done? If yes, how?