Þessi vafri er ekki lengur studdur.
Uppfærðu í Microsoft Edge til að nýta þér nýjustu eiginleika, öryggisuppfærslur og tæknilega aðstoð.
How do you enable a SharePoint Framework client-side web part to be used as a tab in Microsoft Teams?
Include TeamsTab in the web part manifest's supportedHosts property array.
TeamsTab
supportedHosts
Set an isTeamsTab property to true in the web part manifest.
isTeamsTab
true
Add a microsoftTeams entry to the web part's property pane configuration.
microsoftTeams
Where do you deploy the SharePoint Framework package so its web part can be used as a Microsoft Teams tab?
To the SharePoint Online tenant's App Catalog site.
To both the SharePoint Online App Catalog and a separate Microsoft Teams App Catalog.
Upload it directly to a team using the Upload a custom app menu item.
How can a SharePoint Framework web part determine whether it's running in SharePoint Online or Microsoft Teams?
Check whether the this.context.sdks.microsoftTeams object is available.
this.context.sdks.microsoftTeams
Read the this.context.isTeamsContext property.
this.context.isTeamsContext
Parse the current page URL to look for teams.microsoft.com.
teams.microsoft.com
How do you prevent users from changing a Microsoft Teams tab's settings after it's first configured?
Set the canUpdateConfiguration property to false in the Microsoft Teams app manifest.
canUpdateConfiguration
false
Remove the web part's property pane configuration.
Delete the configuration URL from the SharePoint web part manifest.
You must answer all questions before checking your work.
Var þessi síða gagnleg?
Þarftu hjálp með þetta efni?
Viltu prófa að nota Ask Learn til að skýra eða leiðbeina þér í gegnum þetta efni?