![]() ![]() If (await IsDefaultNotebook(templateTeamId, WebUtility.UrlDecode(templateTabDisplayName))) If you are following my blog series and actually used the code from the previous blog post, you can replace the TO DO comment in the ConfigureClonedTeamsTabs method with this bit. And if some other notebook was displayed in the template tab, we create a brand new notebook in the new team and display that. ![]() What we basically want to do here is to reconfigure the tabs that have been displaying to the template team/group default notebook to display the new team/group default notebook. Now the execution can proceed to the correct if-block based on the tab type. Public static readonly string OneNote = "0d820ecd-def2-4297-adad-78056cde7c78" Open the project that you’ve been working on so far, and create a new class called TeamsAppId and add the OneNote app ID to it. ![]() Should the group default OneNote file be used on all of the tabs, and just show a different section? Or should each of the tabs have a separate file? I opted for the latter with a little twist.īefore we start doing anything else, we need to be able to identify what kind of tab-type we are dealing with. People can have different opinions on how the OneNote tabs should be configured. Forming the body for the update request. ![]() Part 5: Configuring the SharePoint and Files tabs.Part 3: Configuring the OneNote tab (you are here).Part 2: Configuring tabs – The Fundamentals.Published articles in this blog post series In this blog post, I’ll show you how you can configure one of the most commonly used tabs: OneNote. I also mentioned that each different kind of tab needs to be configured in a slightly different way, and hence we need individual logic for each of the tab types. In my previous blog post, I also showed you how you can loop through the template team channels and their tabs to collect all the required information for configuring the corresponding tabs in the new team. Welcome back to this blog post series where we clone a team with its tab configurations! So far we’ve looked at the reasons why this topic is important, and how you can use Microsoft Graph to do the basic cloning of a team. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |