Forum Discussion

pFritsch's avatar
pFritsch
Copper Contributor
Mar 28, 2024

Custom App - download of multiple files not working in Teams 2.0 desktop app

Hello,

 

we have a working custom app which users can use to navigate files in a storage solution. It worked perfectly in the old Teams, however since the "New Teams" was published we got a problem regarding downloading files. Downloading a single file is working as intended, however downloading multiple files with one single click runs into nothing. The download is not started and our client-code also doesn't run into any error - it seems like it works as intended even while debugging and stepping over each line of code. However, the download doesn't get started. 

 

It is working in the web version of Teams 2.0 if the user accepts the pop-up which asks if multiple downloads should be allowed (this is a one-time thing and is prompted by the browser). Therefore, our guess is that the Teams 2.0 desktop client would need to prompt for this security setting too, but doesn't and therefore "blocks" all downloads.

 

Our download is realized through creating an iframe, setting its source to the download url and appending it to the document body. We also tried to use this npm package, but it didn't help with our problem: https://www.npmjs.com/package/file-saver

 

Hope you can help us.

 

Best Regards

Patrick

 

 

Resources