SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.23k stars 991 forks source link

filebrowser.aspx in New Teams #9316

Open tknaller opened 8 months ago

tknaller commented 8 months ago

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

πŸ’₯ SharePoint Framework

Developer environment

None

What browser(s) / client(s) have you tested

Additional environment details

New Teams, SPFX iframe to filebrowser.aspx

Describe the bug / error

in Classic Teams using an iframe in an SPFX Solution to filebrowser.aspx worked perfectly; in the new Teams Client Office Documents open neither inside the Online-Versions in the Teams Client or in the Client Application if the appropriate menu item is selected

Steps to reproduce

  1. create SPFX Webpart with Teams Enabled
  2. add an iframe pointing to filebrowser.aspx (just like the Teams built-in File View), see https://learn.microsoft.com/en-us/onedrive/developer/controls/file-browser/?view=odsp-graph-online
  3. Deploy to SharePoint App Catalog & Sync to Teams
  4. Try to open Word or Excel Documents - works in classic, but not in new Teams

Expected behavior

Files open normally

ghost commented 8 months ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.