Moodle plugins for Microsoft Services
including Microsoft 365 and other Microsoft services
Microsoft OneNote API Local Plugin
This plugin provides a common client API for various other Moodle plugins that allow Moodle users to take advantage of Microsoft OneNote Online. This includes operations such as browsing your notebooks, sections, and pages; students doing assignments in OneNote and teachers providing feedback on those assignments in OneNote. It makes calls to Microsoft Graph OneNote API.
Additional notes about the OneNote integration
When a user (student or teacher) clicks on the "Work on this" or "View Submission" or "View Feedback" buttons, the following actions may happen if needed:
- A notebook is created called "Moodle Notebook" in the OneNote account of the user
- Sections are created in that notebook with the names of all the courses the user is currently enrolled into.
- A page is created inside that section corresponding to the submission or feedback as necessary.
- The title of the submission / feedback page is the name of the assignment, prefixed by "Submission: " / "Feedback: ", and postfixed by "[firstname lastname]" of the student.
- Note that these actions take place in a lazy manner and only when necessary i.e. when the corresponding notebook, section, or page does not exist.
- These actions will also occur if the user subsequently goes into OneNote and deletes the notebook, section, or page.
- The connection between Moodle and the OneNote section or page is via the unique id of the section or page. This connection is loose i.e. if the user deletes the section or page, a new one will be created in its place and the appropriate ID maintained in the related Moodle database is updated.
Each submission for each student will have a Submission page and a Feedback page in the student's OneNote account. Also, for each assignment, there is a submission and feedback page for each student in the teacher's account. This is also done lazily i.e. only when teacher clicks on the above buttons. Correspondingly, each such page, when it gets saved inside Moodle, has a copy of the HTML and any associates images, all zipped up in a zip file.
If any of these submission or feedback pages get deleted in OneNote for some reason, they will get recreated when needed from their saved copy in Moodle. So the "master" is always with Moodle and the OneNote pages associated with the master are loosely connected to it.
This is part of the suite of Microsoft 365 plugins for Moodle.
To follow active development on GitHub, click here.
This plugin is updated with stable Moodle releases. This means:
- Bug fixes for general core bugs and security issues for all plugin versions for Moodle 3.8.x and earlier versions have ended, with the following exception:
- Bug fixes for security issues for Moodle 3.5.x versions will end 10 May 2021.
- Bug fixes for security issues for Moodle 3.8.x versions will end 10 May 2021.
- For plugin versions for Moodle 3.9:
- Bug fixes for general issues will end 10 May 2021.
- Bug fixes for security issues will end 8 May 2023.
- For plugin versions for Moodle 3.10:
- Bug fixes for general issues will end 8 November 2021.
- Bug fixes for security issues will end 9 May 2022.
Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft
projects, then you're already covered.
Why a CLA? (from the FSF)
(c) Microsoft, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.