Closed erinha closed 5 months ago
Hi erinha! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.
Best regards, Teams Platform
Thanks @erinha! The consensus across Teams/Taos PM was to remove the snippet entirely. Update is staged and ready for merge: https://github.com/MicrosoftDocs/msteams-docs/pull/10588
Hi erinha! This issue is closed in our system. We would like your feedback on your experience with our support team and Platform.
Best regards, Teams Platform
Type of issue
Typo
Feedback
A code snippet is provided for app developers to check if their app is running in Teams. https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/using-teams-client-library?tabs=javascript%2Cmanifest-teams-toolkit#teams-only-apps
This snippet needs to be updated to include checking for app host name with value
microsoftTeams.HostName.teamsModern
.BEFORE UPDATE (i.e., current code on doc page):
AFTER SUGGESTED FIX:
Page URL
https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/using-teams-client-library?tabs=javascript%2Cmanifest-teams-toolkit#teams-only-apps
Content source URL
https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/tabs/how-to/using-teams-client-library.md
Author
@erikadoyle
Document Id
4ae8187e-a7e4-4b5a-6f38-da6bfa30f2d2