Forum Discussion
Difference between teams app tab and website tab inside team channel
Is there a way to do this trough the app studio? because why would they allow to create a personal tab there indicating the url if it can't be displayed.
Thanks
Hi cmbalderrama - Tabs in teams display a web content which are IFramable. But Google will send an "X-Frame-Options: SAMEORIGIN" response header.
To open Google as a tab in teams use content url as shown below.
https://www.google.com/webhp?igu=1
Let me know if the issue resolved.
- twexlerDec 20, 2022Copper Contributor
cmbalderrama Have you gotten this to work? I am trying to add a few webpages and they all keep failing. I have been trying the public pages route and internal pages. Nothing will load. Do you have a solution?
- cmbalderramaMay 24, 2021Copper Contributor
Hi Mamatha-MSFT
This is what I get:But it's ok, because I also need to add another pages (that are not google) as tabs and if there is no way to put a website without an iframe as a personal tab it's not going to work for me.
I though there might be another way, (the way they do it on the website app inside tab team channel, because the same pages does work there) . Maybe that should be a new requirement for Teams.
But thanks anyway - Mamatha-MSFTMay 24, 2021Microsoft
Hi cmbalderrama - Could you please share the console log messages for tab.
- cmbalderramaMay 24, 2021Copper ContributorHi, is there anything else that you added or changed in the app studio? Because I put the same URL but for me it doesn't load
Thanks - Mamatha-MSFTMay 21, 2021Microsoft
- Mamatha-MSFTMay 21, 2021Microsoft
Hi cmbalderrama - The "website" app in a tab channel is a third party app which allows to add websites as a tab to a channel. Where as personal tab is a custom app which allows only Iframable webpages to as a tab.
- cmbalderramaMay 20, 2021Copper ContributorHi, Thank you but that didn't worked, I put that url and still won't load.
{
"entityId": "GoogleTab",
"name": "Google",
"contentUrl": "https://www.google.com/webhp?igu=1",
"websiteUrl": "https://www.google.com/webhp?igu=1",
"scopes": [
"personal"
]
},
That is way my original question was what is the diference between the tabs inside teams channel and personal tabs in an app.
If in the personal tab in the app the websites are display in an Iframe and they don't load because they are not Iframable, why they do load inside the teams channel tab, aren't they using and Iframe?
Thanks