From the course: Developing for Microsoft Teams
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Getting data from Microsoft 365 or custom data sources - Microsoft Teams Tutorial
From the course: Developing for Microsoft Teams
Getting data from Microsoft 365 or custom data sources
- [Instructor] Inside these teams solutions, We have access to the Microsoft Teams context object and that has quite a bit of useful information about the person or the channel that invokes the app. Take a look at this bit of sample code I've got. I've created a very simple tab that will show me the entirety of this team's context object and what it contains. And as in any of these projects, the team's context object was put into the state by calling Microsoft Teams get context. So let's side load this and see what we get. So I need to go to upload a customized app. There's my app package. Add it to a team. Put it in general. And I think in the configuration page for this one. And there they are. And I can see, I got a session ID, I got my locale, the tab URL, various IDs. Information about the channel and the channel ID and the group ID and the team ID and the location of the SharePoint site that lies behind this…