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.
0 Comments
Leave a Reply. |