Home

SharePoint File viewer web part not displaying in Teams tab

%3CLINGO-SUB%20id%3D%22lingo-sub-444391%22%20slang%3D%22en-US%22%3ESharePoint%20File%20viewer%20web%20part%20not%20displaying%20in%20Teams%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-444391%22%20slang%3D%22en-US%22%3E%3CDIV%3EI%20have%20a%20SharePoint%20communications%20site%20with%20a%20page%20that%20uses%20a%20%22file%20viewer%22%20web%20part.%20When%20I%20add%20that%20SharePoint%20page%20to%20a%20tab%20(using%20website%20tab)%20in%20Teams%20(for%20another%20teams%20site)%20it%20is%20not%20displayed%20and%20it%20downloads%20the%20files.%20Highlighted%20with%20yellow%20is%20where%20the%20file%20should%20be%20displayed.%20Should%20this%20be%20possible%20%3F%3C%2FDIV%3E%3CDIV%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F108423iA985C6E847F77FBF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture%20file%20viewer%20not%20displaying.PNG%22%20title%3D%22Capture%20file%20viewer%20not%20displaying.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-444391%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-444523%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20File%20viewer%20web%20part%20not%20displaying%20in%20Teams%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-444523%22%20slang%3D%22en-US%22%3EYeah%2C%20this%20is%20due%20to%20teams%20having%20trouble%20viewing%20certain%20webparts%20in%20tabs!%20Sometimes%20it%20works%20from%20desktop%20app%20vs%20web%20client!%20Try%20both%20sharepoint%20tab%20and%20website%20tab!%3CBR%20%2F%3EOtherwise%20if%20it%E2%80%99s%20files%2C%20I%20would%20add%20it%20as%20a%20sharepoint%20library%20tab%20directly%20or%20as%20cloud%20storage%20under%20%E2%80%9Cfiles%E2%80%9D%3CBR%20%2F%3E%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-444593%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20File%20viewer%20web%20part%20not%20displaying%20in%20Teams%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-444593%22%20slang%3D%22en-US%22%3EWhat%20kind%20of%20file%20do%20you%20need%20to%20view%20in%20the%20tab%3F%20Remember%20for%20Office%20files%20you%20have%20the%20ability%20to%20add%20a%20file%20directly%20as%20a%20tab%20in%20Teams%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451400%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20File%20viewer%20web%20part%20not%20displaying%20in%20Teams%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451400%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3B.%20The%20Teams%20i%20have%20created%20is%20for%20Learning%20and%20Development.%20I%20add%20a%20tab%20that%20shows%20the%20learning%20and%20development%20communications%20page.%20On%20that%20page%20are%20web%20parts%20that%20are%20file%20viewers.%20I%20cannot%20use%20a%20SharePoint%20tab%20as%20it%20is%20not%20a%20page%20on%20the%20same%20site.%20So%20Teams%20does%20not%20seem%20to%20support%20modern%20pages%20that%20are%20not%20part%20of%20the%20same%20site.%20Maybe%20I%20should%20try%20another%20approach%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451401%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20File%20viewer%20web%20part%20not%20displaying%20in%20Teams%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451401%22%20slang%3D%22en-US%22%3EI%20will%20check%20that%20out%2C%20using%20desktop%20or%20web.For%20the%20Teams%20tab%20its%20a%20communication%20site%20that%20i%20want%20to%20display%20so%20i%20cannot%20use%20a%20SharePoint%20tab.%20I%20want%20to%20display%20the%20communication%20site%20in%20the%20Teams%20and%20it%20happens%20to%20have%20file%20viewer%20web-parts.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-451440%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20File%20viewer%20web%20part%20not%20displaying%20in%20Teams%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-451440%22%20slang%3D%22en-US%22%3EIt%20could%20be%20an%20authentication%20issue.%20Try%20using%20the%20URL%20a%20SharePoint%20tab%20creates%20that%20points%20to%20Teams%20logon.aspx%2C%20I%20wrote%20about%20it%20in%20this%20post%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FTeams-App-Studio-SharePoint-page-tabs%2Fm-p%2F366545%23M27869%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FTeams-App-Studio-SharePoint-page-tabs%2Fm-p%2F366545%23M27869%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-481191%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20File%20viewer%20web%20part%20not%20displaying%20in%20Teams%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481191%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F180%22%20target%3D%22_blank%22%3E%40Alan%20Marshall%3C%2FA%3E%26nbsp%3BI%20think%20you%20are%20correct%20when%20i%20try%20to%20use%20the%20web%20based%20teams%20app%20it%20shows%20the%20tab%20as%20blank%20and%20says%20%22xxxxxx.sharepoint.com%20Refused%20to%20connect%22%3C%2FP%3E%3C%2FLINGO-BODY%3E
andrew sayers
Occasional Contributor
I have a SharePoint communications site with a page that uses a "file viewer" web part. When I add that SharePoint page to a tab (using website tab) in Teams (for another teams site) it is not displayed and it downloads the files. Highlighted with yellow is where the file should be displayed. Should this be possible ?

Capture file viewer not displaying.PNG
6 Replies
Yeah, this is due to teams having trouble viewing certain webparts in tabs! Sometimes it works from desktop app vs web client! Try both sharepoint tab and website tab!
Otherwise if it’s files, I would add it as a sharepoint library tab directly or as cloud storage under “files”

Adam
What kind of file do you need to view in the tab? Remember for Office files you have the ability to add a file directly as a tab in Teams

@Juan Carlos González Martín . The Teams i have created is for Learning and Development. I add a tab that shows the learning and development communications page. On that page are web parts that are file viewers. I cannot use a SharePoint tab as it is not a page on the same site. So Teams does not seem to support modern pages that are not part of the same site. Maybe I should try another approach? 

I will check that out, using desktop or web.For the Teams tab its a communication site that i want to display so i cannot use a SharePoint tab. I want to display the communication site in the Teams and it happens to have file viewer web-parts.
It could be an authentication issue. Try using the URL a SharePoint tab creates that points to Teams logon.aspx, I wrote about it in this post https://techcommunity.microsoft.com/t5/Microsoft-Teams/Teams-App-Studio-SharePoint-page-tabs/m-p/366...

@Alan Marshall I think you are correct when i try to use the web based teams app it shows the tab as blank and says "xxxxxx.sharepoint.com Refused to connect"

Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
202 Replies