Forum Discussion
Simple AppStudio app does not work always
ErikVet Adding a website to a tab and creating an app that contains a custom tab are two fairly different things. Creating a custom tab involves adding the Teams JavaScript SDK to the hosted content page and using that SDK to communicate with Teams.
Adding a website tab on the other hand just embeds the URL you provide in a web view. it cannot communicate with Teams, and there are no expectations on behavior.
Essentially you can not just add any URL to a custom tab in app. You have to customize that page to work as part of an app. Please take a look at the Add Tabs to Microsoft Teams.
- ErikVetAug 21, 2019Brass Contributor
Trinetra-MSFT thanks for the response. That helped to understand the difference.
Now it is a little bit clearer. So for example if i want to create a custom app with a tab that contains a website the SDK should be included in that site. And later of course I have more possibiliets to interact with that page.
Thx for clarification
Erik