OneNote submissions

Assignment submissions ::: assignsubmission_onenote
Maintained by Enovation Dev Team, Lai Wei
This plugin allows students to work on an assignment in OneNote. This includes creating a OneNote page associated with an assignment submission, saving student's work from OneNote into Moodle as a zip package containing the HTML and any associated images contained in the submission, and recreating the OneNote page from the zip package saved in Moodle if necessary.
Latest release:
740 sites
434 downloads
22 fans
Current versions available: 7

Moodle plugins for Microsoft Services

including Microsoft 365 and other Microsoft services

Microsoft OneNote Assignment Submission Plugin

This plugin provides the functionality related to students working with an assignment in OneNote. This includes creating a OneNote page associated with an assignment submission, saving student's work from OneNote into Moodle as a zip package containing the HTML and any associated images contained in the submission, and recreating the OneNote page from the zip package saved in Moodle if necessary. It uses the Microsoft OneNote API Local plugin to do some of these things.

Design details

Basic Design

This plugin follows a design similar to the File submission plugin wherever possible. It uses the API exposed by the local_onenote plugin to perform most of the OneNote-related operations.

Note that the association between an assignment submission in Moodle and the associated OneNote page is loose i.e. the OneNote page may get deleted and it will not affect Moodle since it keeps a copy of the page in a zip package and can always recreate the OneNote page from it.

Use cases supported

  • When a student wants to start working on an assignment which allows OneNote submissions, they click on a button in the plugin UI that creates a OneNote page for their submission from the title and prompt of the assignment.
  • When the student wants to save their work back in Moodle, they click on a save button in the plugin UI, which results in this plugin downloading the content of the OneNote page, including the HTML and any associated images and zipping them up as a single file and saving it in the Moodle database.
  • If the OneNote page associated with an assignment submission gets deleted, the student can still click one a button in the plugin UI that will recreate the OneNote page from the zip package that was saved in Moodle.

Plugin dependencies

assignsubmission_onenote => local_onenote

Configuration

This plugin adds a radio button to the assignment creation form that allows a teacher to specify that a student may submit their work as a OneNote page.

This plugin also provides a setting for the maximum size in bytes of the OneNote submission.

This is part of the suite of Microsoft 365 plugins for Moodle.

To follow active development on GitHub, or to find historical versions, click here.

The supported Moodle versions of this plugin is in line with core Moodle version support.

Questions and issue reporting

Github should be used for reporting issues found when configuring or using the plugin, and to ask questions. The comments area on this page is not actively monitored.

Contributing

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)

Copyright

(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.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Enovation Dev Team (Lead maintainer)
Vinayak (Vin) Bhalerao
Akinsaya Delamarre
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • James McQuillan
    Thu, 10 Sep 2015, 11:51 PM
    Hi Paul,

    You likely need to add OneNote to the list of permissions in your Azure application, the plugins fall back to a Microsoft personal account if they cannot access Office365 OneNote. See the OneNote entry in the Office365 documentation for additional information on this: https://docs.moodle.org/27/en/Office365#OneNote.

    You should be able to access OneNote using Office365 federated logins once OneNote has been added to the Azure application, but do note that OneNote for Office365 is still in preview and *may* not be available everywhere quite yet.

    Thanks!
  • Paul F
    Fri, 11 Sep 2015, 4:37 AM
    Aha! It's not obvious that it works with O365 especially as the documentation actually tells you that you must have a separate Microsoft Account (I guess that's out of date) - I've added permissions however now I'm getting the 'Sorry, we are having trouble showing some of your notebooks. Please check back later.' problem, but at least it's trying to access the O365 OneNote online rather than a Microsoft account.

    Much appreciated - thank you!
  • James McQuillan
    Fri, 11 Sep 2015, 4:51 AM
    Thanks for the head's up on the docs - I've made a note to get that updated. The message you said you're getting - is that displayed on the OneNote site?
  • Paul F
    Fri, 11 Sep 2015, 5:01 AM
    Actually I wasn't very clear - if within Moodle I try to make a OneNote submission, I see the purple button now with 'Work on this' as opposed to the white Microsoft button, but when I click it there is a pause of about 12 seconds then I see the message "onenote/Could not open the OneNote page for this submission or feedback."

    If I go to portal.office.com and click on OneNote Online, then I see the message "Sorry, we are having trouble showing some of your notebooks. Please check back later." - this happens with accounts from both of our federated domains, so I'm not convinced that this isn't a temporary issue with Office 365.
  • Paul F
    Fri, 11 Sep 2015, 5:01 AM
    ...I have granted all permissions to OneNote in the Moodle Azure app.
  • James McQuillan
    Fri, 11 Sep 2015, 5:12 AM
    Yeah if you're getting an error visiting OneNote directly from the office portal that would make me think there's an temp. issue with Office. Try again in a bit - if you continue to experience issues on the Moodle side and can access OneNote fine from the portal definitely let me know though.
  • Paul F
    Fri, 11 Sep 2015, 5:30 AM
    Will do - thanks again!
  • Paul F
    Sat, 12 Sep 2015, 5:01 AM
    Just an update - I'm still having the same problems with my existing account and a test account which I now believe to be a problem with Office 365 and those accounts, however if I create a new account it works perfectly.
  • InsightKorea JobS
    Thu, 9 Nov 2017, 11:06 AM
    Hello~I have a question. I made clientID & password at "https://account.live.com/developers/applications". 'Microsoft Acount client secret' is not valid. Why not activating?
  • Sam Tsui
    Tue, 12 Jun 2018, 5:02 AM
    Thanks for this awesome plugin..... The moodle platform I administer has a lot of active courses. Can I use the free trial with only one course that I will select? Is there any option?
    Or, since it will be installed on platform, the plugin will send all courses' live data to it.
  • Ariana Damon
    Tue, 30 Oct 2018, 5:45 PM
    Our campus is switching to a site-wide office 365 solution for email/document sharing. I was just testing out this plugin and it doesn't seem you can authenticate into an office 365 for business account. Is this something that is able to be modified? dpc watchdog violation windows 10 All of our student/faculty/staff accounts will be office 365 for business which uses a separate login server.
  • Valentina jacob
    Thu, 15 Nov 2018, 5:58 PM
    Just an update - I'm still having the same problems with my existing account and a test account which I now believe to be a problem with Office 365 and those accounts, however if I create a new account it works perfectly.I was just testing out this plugin and it doesn't seem you can authenticate into an office 365 for business account. Is this something that is able to be modified I m facing issue in my printer and its offline issue it is going offline and I m not able to fix it up but after going to the printer offline fix my printer start working and now I m really happy thanks to this site.
  • Jürg Hoerner
    Thu, 3 Jan 2019, 2:50 PM
    The onenote Plugin does not work with moodle 3.6.1. error events.lib
  • Kunal Goldar
    Wed, 7 Aug 2019, 8:42 PM
    thank you for sharing this with us, it's a very helpful article !
  • Mukul Sharma
    Thu, 8 Aug 2019, 7:06 PM
    hi now i can verify that none of the username, first name and last name, or email address with a space.
1 2
Please login to post comments