The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Hello All,
I need help writing a script. I would like to use the API to check the "hide_final_grades" box for all of the courses in our Canvas Account / instance. Is this possible? If so, what is the best way to go about doing this? I am not a programmer, just a K-12 Admin. Thank you!
KM
Solved! Go to Solution.
krismcaloon in the 'Courses' section of your account settings, try turning on the feature option 'Multiple Grading Periods' (even if you don't use them.) Then turn off Display Totals for "All Grading Periods". Of course, try this in your test instance first to see if it gives you the desired results.
Due to the technical nature of this question I'm going to share this with the Canvas Developers group in the Community. They are the ones who do a lot of this back-end programming so hopefully they can help!
There is an API to set this value in a course:
Courses - Canvas LMS REST API Documentation
See the varible "hide_final_grades"
Is there anyone on your team who does any programming?
Yes, but he mostly knows MS SQL and a few other DB related languages. This has proven to be not very helpful with Canvas...
Kris McAloon
Assistant Director of Instructional Technology
MSD of Lawrence Township
krismcaloon@msdlt.org<mailto:krismcaloon@msdlt.org>
krismcaloon I will try to work on this in my spare time.
It isn't too complicated, just takes time : )
Garth Egbert Thank you for agreeing to help. It looks like the solution from Mike below worked. It doesn't change the setting for the courses per se, but it has the same effect.
krismcaloon in the 'Courses' section of your account settings, try turning on the feature option 'Multiple Grading Periods' (even if you don't use them.) Then turn off Display Totals for "All Grading Periods". Of course, try this in your test instance first to see if it gives you the desired results.
That looks like it is working! Thank you, Mike Cowen!
Deactivated user this is great, thank you.
Community helpTo 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
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.