Assignment submissions : OneNote submissions

assignsubmission_onenote
Maintained by Picture of James McQuillanJames McQuillan, Picture of Zion BrewerZion Brewer, Picture of Nima MojganiNima 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.
466 sites
338 downloads
15 fans
Current versions available: 11

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
  • Picture of James McQuillan
    Thu, Sep 10, 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, Sep 11, 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, Sep 11, 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, Sep 11, 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, Sep 11, 2015, 5:01 AM
    ...I have granted all permissions to OneNote in the Moodle Azure app.
  • Picture of James McQuillan
    Fri, Sep 11, 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, Sep 11, 2015, 5:30 AM
    Will do - thanks again!
  • Picture of Paul F
    Sat, Sep 12, 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 InsightKorea JobS
    Thu, Nov 9, 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, Jun 12, 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, Oct 30, 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.
  • Picture of Valentina jacob
    Thu, Nov 15, 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.
  • Picture of Jürg Hoerner
    Thu, Jan 3, 2019, 2:50 PM
    The onenote Plugin does not work with moodle 3.6.1. error events.lib
  • Picture of Kunal Goldar
    Wed, Aug 7, 2019, 8:42 PM
    thank you for sharing this with us, it's a very helpful article !
  • Picture of Mukul Sharma
    Thu, Aug 8, 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