-
Notifications
You must be signed in to change notification settings - Fork 534
Closed
Labels
bugteams-developer-supportQuestion related to extensibility (Bot, ME, Tab) would be marked under this labelQuestion related to extensibility (Bot, ME, Tab) would be marked under this label
Description
Copied bug from: OfficeDev/microsoft-365-agents-toolkit#10813
Details from original post:
Is your feature request related to a problem? Please describe.
File downloads are hard in Teams apps because of the restrictions in embedded web browsers/Electron apps. There are numerous security and cross browser quirks to consider.
Describe the solution you'd like
I wish that there was methods in the SDK for starting a user friendly file download experience in the Teams apps. Some possible parameters are:
- A blob. Imagine a image editor in Teams that allows you to download the result from a canvas element.
- A URL to an already existing file in SharePoint Online.
- A URL to a file publicly available on the Internet.
Additional context
Saving blobs using FileSaver.js used to work in old Teams app, but no longer works correctly in new Teams. The first file will be downloaded, but subsequent downloads are blocked.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: b743e43d-95cc-3d1e-b142-31a16369f97e
- Version Independent ID: b743e43d-95cc-3d1e-b142-31a16369f97e
- Content: Teams Toolkit Overview - Teams
- Content Source: msteams-platform/toolkit/teams-toolkit-fundamentals.md
- Service: msteams
- GitHub Login: @zyxiaoyuer
- Microsoft Alias: zhany
Metadata
Metadata
Assignees
Labels
bugteams-developer-supportQuestion related to extensibility (Bot, ME, Tab) would be marked under this labelQuestion related to extensibility (Bot, ME, Tab) would be marked under this label