Assignments with text submission

In Canvas it is possible to have an assignment with a submission type of online_text_entry.

Unfortunately, these submissions cannot be annotated with Speedgrader.

This problem can be solved by someone who has the appropriate permissions, as they can:

  1. get each of the text submissions (looking at the submission's "submission_type" )
  2. drop the text into a DOCX file
  3. upload the submission - as the student (i.e., masquerade as the student)
  4. Now you can comment on the new submission using speed grader!

Process in pictures

First, we start with an assignment that allows for online_text_entry:

assignment-Screenshot_20210301_133453.png

Next, the student (Ellen FakeStudent) submits her answer:

  Ellens_submission-Screenshot_20210301_134159.png  

The grade book nows shows a "T" for this submission:

gradebook-with-text-submission-Screenshot_20210301_132442-zommed.png  

Now one can run a script to process the submissions for this assignment (assignment 44) in the course (7):

Example - to generate docx file locally

 ./get_textbox_submissions_as_docx.py 7 44

Example - to generate docx file locally and upload it as a submission

./get_textbox_submissions_as_docx.py --submit  7 44

The results are the file icon appears in the gradebook

Ellen now has an uploaded file as shown by the file icon in the gradebook.  

Speedgrader shows there is a docx file to download

Speedgrader showing the docx file is available for download.  

View of an example document:

picture-of-document-Screenshot_20210301_170100.png  

The source code for get_textbox_submissions_as_docx.py can be found at https://github.com/gqmaguirejr/Canvas-tools Links to an external site.