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

 

 

  • pFritsch - Could you please provide any sample code repo or document you followed, so that we can repro this at our end? If you have the app deployed, please do share the manifest, it would be super helpful. Thanks!

      • Prasad_Das-MSFT's avatar
        Prasad_Das-MSFT
        Icon for Microsoft rankMicrosoft

        pFritsch - Although we ran into some certification issue and not able to repro, we have raised a bug for this issue. We will inform you once we get any further update from engineering team.

         

         

        Thanks, 

        Prasad Das

        ------------------------------------------------------------------------------------------ 

        If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

Resources