Forum Discussion
File preview in teams client without information panel
If i click in the team web client on a pdf file (stored in SharePoint Online) in a document library or provided by a hyperlink (e.g. as hyperlink attachment in Planner) then the file preview in teams is opening with following URL:
https://teams.microsoft.com/_#/pdf/viewer/teamsSdk/<file-url> with some url parameters.
Unfortunately the preview does not support ability to the end user to open the https://support.microsoft.com/en-us/office/view-and-edit-information-about-a-file-folder-or-link-in-a-document-library-1ffa10e8-3169-4f79-8b2e-6ed2e1246f6f of the file as provided in the file preview in SharePoint Online.
Compare file preview in SharePoint Online with button to open the information panel:
My question: Is there any way to manipulate the given URL in Teams to enhance the file preview so that the end user has the same capability like in SharePoint Online?
BTW: the button "Open in SharePoint" in the contect menu is not helpful because it opens the whole document library in SharePoint Online.
Thanks in advance,
André