Forum Discussion
KeffaKlumpen
Nov 02, 2023Copper Contributor
Teams Tabs App - Finding the current team/site
I am currently developing a teams app that will be added to a few different teams. We are using C# / .cshtml / Razor and the app consists of a few RazorComponents which performs different Graph oper...
- Nov 05, 2023We found the solution to why the TeamsContext object was not being assigned any data:
In the manifest.json we had to add the "team" scope to our tab!
Here we found the ChannelContext which contains a RelativeUrl we can extract the site name from!
KeffaKlumpen
Nov 05, 2023Copper Contributor
We found the solution to why the TeamsContext object was not being assigned any data:
In the manifest.json we had to add the "team" scope to our tab!
Here we found the ChannelContext which contains a RelativeUrl we can extract the site name from!
In the manifest.json we had to add the "team" scope to our tab!
Here we found the ChannelContext which contains a RelativeUrl we can extract the site name from!