Forum Discussion
cmbalderrama
May 17, 2021Copper Contributor
Difference between teams app tab and website tab inside team channel
When I try to create an app in app studio and put a webpage URL in a personal tab, It won't load, doesn't show anything (I read that is because most of the pages won't allow to be embed in an iframe) . But when I create a new tab inside a teams channel and I use the "website" app it does load the sames pages, so how are they embedding the pages inside that tab and how is it different from the personal tab in a new app.
Is there a way to show a website in a new app that doesn't use iframe or that works like in the teams channel tab?
Thanks
- Mamatha-MSFT
Microsoft
Hi cmbalderrama - Could you please explain which website are you trying to embed in a tab and also share the code snippets of tab.
- cmbalderramaCopper Contributor
Hi,
well I'm trying to embed some internal pages, but I have tried with any pages, even google, when I put the URL in the personal tab when creating an app in app studio in won't show anything, but when I put the same URL in the teams channel tab with the website app it shows the page and work.
this is with the personal tab in app studio:doesn't load anything but the link to go to website does work (so no problem with the url)
and this in the teams channel tab:
For a Teams app you would need to also list all the possible domains that would be accessed in the valid url section. For SharePoint pages I use the following
"validDomains": ["<yourdomain>.sharepoint.com","msft.spoppe.com","resourceseng.blob.core.windows.net","spoppe-a.akamaihd.net","spoprod-a.akamaihd.net","*.sharepoint-df.com","*.sharepoint.com","*.login.microsoftonline.com"],