Develop Javascript / GraphQL on Test Instance?

Jump to solution
Community Explorer

Is there an easy way to write Javascript code that accesses the GraphQL API that will sit on top of the Canvas LMS?

Our staff are having issues with the way grades are handled in Canvas. They want to see semester grades based on two quarter grades but it seems this is not possible. I thought it would be nice to have a javascript panel (like a navbar) slide in to display the relevant grades the way our staff want it. To do this I think I'd need to pull all the grades for the relevant course through the GraphQL API, do some calculations then simply present the numbers on the panel.

I have programming experience, but very little experience with web browser programming. Any ideas / help would be greatly appreciated!

Labels (2)
1 Solution


1. You should test the code in the beta/test environment of your Canvas instance:

2. Yes, that's where you need to go to upload custom Javascript and CSS

3. If you have Admin access to Canvas then you can upload the code to "Themes"

View solution in original post