Parents requested this at my school - multiple students

Document created by Peter Nickson on May 25, 2017Last modified by Peter Nickson on Oct 18, 2017
Version 8Show Document
  • View in full screen mode

Edit - Version 2 is ready.  Add this to the javascript in your theme and it will work out of the box: Parents v2.1.js 

 

 

____________________________

 

We recently ran a series of after school training sessions to show parents how to use Canvas. A comment that came up time and again was how can a parent easily switch the view from one child to the next in the website. This is not a new request and has come up in Parental observation in canvas complicated with three children! and  Parents Access to Canvas. The parent app has its flaws and until the greatest ones are ironed out, we won't be recommending its use.

 

To help parents, teaching assistants, learning support assistants and others may be observing more than one student at a time, here's a little bit of javascript you can add to your theme to make it easier to switch between students. It's very rusty but does the job.  If there are multiple observees, a drop down should appear to choose between students.  If there is just one observee, a button will appear that you can click to reset the view so that all the calendars for that student is displayed.  This is what it looks like when completed.

Note 1:  The code will not work on your test or beta sites unless you change some code.  To do this, make sure you change line 42 inside the calendarLinks function

SiteCode on line 42
Production
var httplink = "https://" + CanvasTenant + ".instructure.com/calendar?include_contexts="
Test
var httplink = "https://" + CanvasTenant + ".test.instructure.com/calendar?include_contexts="
Beta
var httplink = "https://" + CanvasTenant + ".beta.instructure.com/calendar?include_contexts="

Note 2:  Please note this is my first attempt with either javascript, json or apis. There will be lots of errors, inelegant code and things that could be simplifed. I've created this as a necessity but really would appreciate anyone who can improve and share.

5 people found this helpful

Attachments

Outcomes