Assignment submissions : OneNote submissions

assignsubmission_onenote
Maintained by Picture of James McQuillan James McQuillan, Picture of Zion Brewer Zion Brewer, Picture of Nima Mojgani Nima Mojgani
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.
558 sites
463 downloads
13 fans

Moodle plugins for Microsoft Services

including Office 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 => local_msaccount


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 Services plugins for Moodle.

This plugin is updated with stable releases. To follow active development, see: https://github.com/Microsoft/o365-moodle


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.

Sets

This plugin is part of set Microsoft Services.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Picture of James McQuillan
James McQuillan (Lead maintainer)
Picture of Vinayak (Vin) Bhalerao
Vinayak (Vin) Bhalerao
Picture of Akinsaya Delamarre
Akinsaya Delamarre
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Anthony Borrow
    Sun, 18 Jan 2015, 3:09 AM
    James - Many thanks for sharing this plugin with the Moodle community. I am in the process of reviewing it and the other related plugins. I was able to install the plugin without issue and will continue the review. Peace - Anthony
  • Picture of Tony Box
    Fri, 8 May 2015, 5:27 AM
    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? All of our student/faculty/staff accounts will be office 365 for business which uses a separate login server.

    Thanks!
  • Picture of James McQuillan
    Mon, 29 Jun 2015, 11:03 PM
    Hi Tony - We've recently added OneNote using Office365 for Business. Can you upgrade and let me know if that works for you? Thanks!
  • Picture of Paul F
    Thu, 10 Sep 2015, 9:44 PM
    James - can you clarify exactly what you mean by "We've recently added OneNote using Office365 for Business."? I have version 29.0.0.0 of the Office 365 and Microsoft services plugins installed into Moodle 2.9.1+ and when attempting to submit using OneNote, we just see a sign into Microsoft button that will not accept federated logins for Office 365 but seems to want a personal Microsoft account.
  • Picture of 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!
  • Picture of 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!
  • Picture of 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?
  • Picture of 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.
  • Picture of Paul F
    Fri, 11 Sep 2015, 5:01 AM
    ...I have granted all permissions to OneNote in the Moodle Azure app.
  • Picture of 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.
  • Picture of Paul F
    Fri, 11 Sep 2015, 5:30 AM
    Will do - thanks again!
  • Picture of 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.
  • Picture of Polaris Lee
    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?
  • Picture of 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.
  • Picture of 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.
Please login to post comments