After an outage on September 1, the Instructure Community is now fully available, including guides, release notes, forums, and groups. If some styling still looks unusual, clear your cache and cookies.
Found this content helpful? Log in or sign up to leave a like!
We are considering adding the course format field (on campus, onlline, blended) to our SIS Import for courses to aid in reporting. I can't find that that field can be locked. From the Canvas SIS documentation it is not a "sticky" field, so will it get overwritten with every SIS Import even if it is changed by the instructor?
Thanks for any insight you can provide.
Solved! Go to Solution.
Hi @ldavenport4015 I can't speak to the locking, but our ITS team 'brute force' items that we want to suppress by adding them to a .javascript blocker.
However this does mean that the .js has to be updated every time there is a new Instructure update.
Hi @ldavenport4015,
Got it. I think @paul_fynn is correct in that you'd need to di some customization for this. If you add the follwoing line to a javascript file and upload it to your Canvas theme, it should work (best practice would also to be to put this inside an if statement that checks that you're on the course settings page, but I wanted to keep this simple to get you a potential solution):
document.getElementById("course_course_format").disabled=true
While these customizations could break at any time with a Canvas update, I have found they are relatively stable and have a number of similar little customzations done in javascript for our Canvas instance.
-Chris
Hi @ldavenport4015 I can't speak to the locking, but our ITS team 'brute force' items that we want to suppress by adding them to a .javascript blocker.
However this does mean that the .js has to be updated every time there is a new Instructure update.
Hello @paul_fynn Thanks for the idea! I'm pretty sure we won't choose that option (yet) for the very challenge you mention, but it's in our pocket if we find we need to hide that field.
Hi @ldavenport4015,
Can you clarify... Do you want your teachers to be able to change the field in Canvas and have that stick, or do you not want teachers to be able to change the field at all?
-Chris
Hello Chris,
We'd prefer that we could lock that field so that instructors can't change it. The course format is set by the university based on specific guidelines. To report on course use, activity, etc., it would be helpful if we could trust the informatiom in that field and not have to join with university tables to grab course format for reporting.
Hi @ldavenport4015,
Got it. I think @paul_fynn is correct in that you'd need to di some customization for this. If you add the follwoing line to a javascript file and upload it to your Canvas theme, it should work (best practice would also to be to put this inside an if statement that checks that you're on the course settings page, but I wanted to keep this simple to get you a potential solution):
document.getElementById("course_course_format").disabled=true
While these customizations could break at any time with a Canvas update, I have found they are relatively stable and have a number of similar little customzations done in javascript for our Canvas instance.
-Chris
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in