Developer Discussions

Discuss, share tips, and ask questions about Developer-related topics.

Prior to our sync to Aspire (Utah's SIS system) I was able to upload a file via SIS uploads or use the API to pair success coaches with their students as observers. However, since the integration when I run it in test it generates duplicate users in ...

Community Member
Canvas Developers Group
  • 0 Likes
  • 0 Replies

For achieving purposes we need to automate a flow which includes getting questions from question banks used in new quizzes. From answers dating back to 2022 the information was that this doesn't exist. Is there any new information regarding this?

Community Explorer
Canvas Developers Group
  • 0 Likes
  • 0 Replies

We're experiencing random NXDOMAIN errors when trying to access the Canvas APIs. These errors seem to occur randomly, and we're not sure what might be causing them.Has anyone else encountered this issue? Is there something specific to Canvas that cou...

Community Explorer
Canvas Developers Group
  • 0 Likes
  • 3 Replies

Hi Developers, The July 17 deploy changed the UI for the publish/unpublish options on a course home page and in course settings to a dropdown box.  I'm looking for a way to disable the "unpublish" option with this new UI.  I had code working for the ...

  • 0 Likes
  • 3 Replies

I am using the canvas api to retrieve all courses from my canvas instance.In order to do this I : - create a new access token in /profile/settings - Then use this access token to perform an API call to list all courses with https://canvas.instructure...

  • 0 Likes
  • 4 Replies

Overview of issueOn a Page, I'm trying to pass data that to an html file I'm loading via iframe. The main data I need right now is current user/course data, so passing data from the window.ENV object would be ideal.I do not need to receive data from ...

Community Explorer
Canvas Developers Group
  • 0 Likes
  • 2 Replies

Does anyone have an example of how to add a user to a course via the API? I can see how to do it via browser but im trying to automate enrollment into a class.

  • 0 Likes
  • 1 Replies

I've been poking around the Global Announcements API, and while I can post announcements for specific roles (as an admin), I cannot seem to pull the information for a specific announcement (or even when pulling all announcements) if I am not in that ...

Community Contributor
Canvas Developers Group
  • 2 Likes
  • 1 Replies

Hello, I need to update the section SIS ID, section start date, and section end date for a lot of courses in a term.  I've tried the PUT request in the live API to edit a section and it worked. The course section was updated. I'm using Postman now to...

  • 0 Likes
  • 2 Replies

I have a number of assignments which are created automatically via MyLab, and posting each of them via the web interface, as well as setting default grades for them, is very tedious. Even if it wasn't, my preferred way of working with Canvas is via t...

Community Member
Canvas Developers Group
  • 0 Likes
  • 0 Replies

Hi all,I have a Canvas page with a bunch of details tags that I'm using like an accordion. In one of the <details>, I've embedded an iframe that has a video. When I look at it in the RCE, it displays mostly how I want it to, except that I want it to ...

Community Member
Canvas Developers Group
  • 0 Likes
  • 0 Replies

Hello!I am in the process of developing a feature to facilitate the acceptance of multiple enrollments for students on our platform. We offer a large number of courses and to simplify the lives of our students, I am creating a modal window that lists...

Community Member
Canvas Developers Group
  • 0 Likes
  • 0 Replies

Hello!I am in the process of developing a feature to facilitate the acceptance of multiple enrollments for students on our platform. We offer a large number of courses and to simplify the lives of our students, I am creating a modal window that lists...

Community Member
Canvas Developers Group
  • 0 Likes
  • 0 Replies

I'm looking for a way to automate updating the override score. We are calculating an attendance value on external data to Canvas, and then subtracting this value from the unposted current score and setting the result as the override score. We would b...

  • 0 Likes
  • 4 Replies

Hello Everyone, I'm developing an application that accesses course data from the Canvas API using the endpoint GET /api/v1/accounts/:account_id/courses. After each sync, I need to pull all the courses for an institution into my application, which is ...

Community Explorer
Canvas Developers Group
  • 0 Likes
  • 2 Replies

I am a TA in a course looking to develop some scripts using Python (but am currently building the endpoint in Postman for testing). My goal is to retrieve the users in a course's group, as we use groups on a course to sort students into graders.I hav...

  • 0 Likes
  • 2 Replies

I am try to use the New Quizzes API to modify an existing quiz. For example, to remove the restrict student result view I use the following call with cURL:curl https://domain.edu:443/api/quiz/v1/courses/51989/quizzes/1765410 -X PATCH -H "Authorizatio...

  • 0 Likes
  • 4 Replies

Hello, I'm trying to get started to build an app in Canvas that shows up in the course menu. I want teachers to be able to configure the app's features and enable/disable certain capabilities.I want students to be able to post questions on a particul...

Community Member
Canvas Developers Group
  • 0 Likes
  • 0 Replies

Hi everyone, When using an LTI 1.3 tool , the resource returned from an LTI 1.3 tool can be embedded through  an iframe in the page.  At the moment, we cannot see any option to make the resource responsive because of the iframe. Does anyone have any ...

  • 0 Likes
  • 2 Replies

I have developed an LTI 1.3 integration that is working successfully, including the Names & Roles service and Grade Passback. It works correctly with a Public Key or JWK value, but it is not working with my Public JWK URL (KeySet URL). My JWK URL is ...

  • 0 Likes
  • 2 Replies

I am creating a user through the canvas API and once created I need to redirect my user to the canvas instance and ideally have the user automatically signed in.Looking at the docs : https://canvas.instructure.com/doc/api/users.html#method.users.crea...

  • 0 Likes
  • 3 Replies

I am unable to view all the courses for which i am an observer using the api. https://canvas.instructure.com/api/v1/courses?access_token=<replace this with real access token>. For some courses i get "access_restricted_by_date": true which I get all d...

  • 0 Likes
  • 1 Replies

We have a LTI 1.3 App external tool integration that makes a call to the Names and Roles API to fetch context membership but on occasion, we are unable to fetch the membership due to the API returning:{"errors":{"type":"bad_request","message":"Reques...

Community Member
Canvas Developers Group
  • 0 Likes
  • 0 Replies

We have built an integration for our tool with Canvas.A student submits a document through our tool.Using the Canvas API, our tool uploads the file to a Canvas assignment.Uploading according to:https://canvas.instructure.com/doc/api/file.file_uploads...

Community Member
Canvas Developers Group
  • 0 Likes
  • 0 Replies

Hi @chriscas  I hope you’re doing well. I was wondering if there is a way to use external APIs within Canvas or post APIs from other services to integrate them with Canvas. Could you please let me know if this is possible and how it can be done? Your...

  • 0 Likes
  • 5 Replies

We are trying to see if there is a way using JavaScript to prevent Teachers from adding TAs and Graders to a course unless they have gone through FERPA training.  Our Registrar keeps a database table listing all staff, students who have completed FER...

  • 0 Likes
  • 5 Replies

Hello Wonderful Developer Community,  I have a question for you all. I hope I explain it alright and you can provide me with some insight. I must first preface by saying that I am not the developer of the LTI for which we are having an issue. I am th...

  • 0 Likes
  • 2 Replies

This is a bit of a cross-post, but I'm looking for the bright minds in this group to see if they have the answer to my post here: https://community.canvaslms.com/t5/Canvas-Question-Forum/Outcomes-Mastery-Report-for-Sub-account/td-p/611002 This isn't ...

Community Champion
Canvas Developers Group
  • 0 Likes
  • 0 Replies

Hi all!Long-time lurker, first-time poster. Many thanks to everyone who has shared their tricks for negotiating the Canvas REST API, especially @James with parallel requests and pagination strategies! Huge help. Big kudos. As it says in the subject,...

  • 0 Likes
  • 6 Replies

I have an assignment (a graded discussion topic) that is assigned to different sections with different due dates for each section. It is not assigned to all students, only by section.  When I query the API for the JSON entry for this assignment: 1) I...

  • 0 Likes
  • 6 Replies

Developer Blog

A user blog for Developers building things for Instructure products. Read tips and tricks or share your own.

A Python admin tool for rendering subaccount hierarchy graphs for Canvas.   

Community Novice
Canvas Developers Group
:

Admin

Admin Analytics

Administrator

Analytics

API Canvas

Canvas Admin

canvas api

developer tools

Developers

python

subaccounts

  • 0 Likes
  • 0 Replies

This is a user script to allow admins to bulk publish courses from the admin account course search page.

Community Participant
Canvas Developers Group
:

API

API Canvas

bulk update

Custom JavaScript

Javascript

user script

userscript

  • 3 Likes
  • 4 Replies

I have developed a user script that can be used to bulk update enrollment states in a course.

Community Participant
Canvas Developers Group
:

API

API Canvas

bulk update

Custom JavaScript

Javascript

user script

userscript

  • 0 Likes
  • 0 Replies

Many teachers set the course locale (which sets the language assumed for the course content); unfortunately, this also changes the user's GUI - so all of the menus are now in the language of the course locale. This is undesirable from many points of ...

Community Champion
Canvas Developers Group
:

Accessibility

  • 0 Likes
  • 1 Replies

A new Simple Search feature has been added to the Canvas LMS Mods (Basic) browser extension. This allows a user to search for content within a course or across their enrolled courses.

Community Participant
Canvas Developers Group
:

API

API Canvas

chrome extension

Custom JavaScript

Javascript

  • 4 Likes
  • 14 Replies

Hi All, There have been a few posts in the Canvas LMS area asking about options for automatically deleting courses after and defined amount of time...   few years ago, I built this functionality into a python script that my institution runs on a dail...

Community Coach Community Coach
Canvas Developers Group
  • 2 Likes
  • 0 Replies

This is a follow-up of my last post on the community forum here,https://community.canvaslms.com/t5/Canvas-Developers-Group/Self-host-amp-Install-Canvas-LMS-on-your-own-server/td-p/575826Following the production guide created by Instructure for Canvas...

Community Explorer
Canvas Developers Group
:

All Users

  • 0 Likes
  • 0 Replies

Are you going to be at InstructureCon 2024?  Do you have interest in meeting some fellow developer-type people in-person?  We have arranged 2 different opportunities to connect this year!

Community Coach Community Coach
Canvas Developers Group
:

Developers

INSTRUCTURECON

  • 1 Likes
  • 0 Replies

Using CD2, it is possible to find out who made an anonymous post and who has read the post.

Community Contributor
Canvas Developers Group
:

Anonymous Discussion

cd2

  • 2 Likes
  • 0 Replies

We are using the following code to hide the anonymous discussion options at this time.  We will re-evaluate making this available in the future, but are not ready to support this functionality at this time since the identity of the student is also hi...

Community Coach Community Coach
Canvas Developers Group
:

Anonymous Discussion

CSS

Javascript

  • 6 Likes
  • 2 Replies

I am creating this blog as an area where we can share links to code repositories and projects with each other, as we discussed in the developers meetup yesterday.  If you have a project website, GitHub, etc that others might find useful, please share...

Community Coach Community Coach
Canvas Developers Group
:

Developers

Repositories

  • 6 Likes
  • 2 Replies

Years ago I used the API to find which LTI tools were used in a course, then switched to CD1 and now I'm using CD2.  I built a Tableau report with several filters, including: Type of course: sis, non-sis or allState of the course: published, unpublis...

Community Contributor
Canvas Developers Group
:

cd2

custom reports

external tool

  • 5 Likes
  • 11 Replies

I created a blog post in 2020 explaining how to bulk load and sync Canvas Avatar images using Powershell. https://community.canvaslms.com/t5/Canvas-Developers-Group/How-to-bulk-load-and-update-avatar-profile-pictures-with/ba-p/410101 Since then, I've...

Community Participant
Canvas Developers Group
  • 1 Likes
  • 0 Replies

I am working to have an AI LLM (ChatGPT 3.5 or better) generate QTI 2.1 XML that I can copy-paste into text files then ZIP and upload to Canvas to create Item Banks in New Quizzes.I have been successful in getting ChatGPT to generate a set of test qu...

Community Explorer
Canvas Developers Group
  • 5 Likes
  • 4 Replies

Sit back, relax, and let n8n do (most of) the tedious admin tasks for you. N8N is an open-source workflow automation tool that empowers you to harness the capabilities of Canvas backend systems, including Canvas API, Canvas Data, and Live Data, to st...

Community Coach Community Coach
Canvas Developers Group
  • 4 Likes
  • 0 Replies

Hello, Canvas Community!I'm thrilled to announce the R package called "vvcanvas". This package provides a convenient interface to interact with the Canvas Learning Management System (LMS) API, enabling users to authenticate, retrieve course informati...

Community Member
Canvas Developers Group
:

API

Canvas lms api

CRAN

R

  • 1 Likes
  • 0 Replies

Learn about some of the new features that I built and released in v3.0.0 of the Canvas LMS Mods (Basic) Chrome extension to provide course level reports primarily about course content.  The code for the extension is open-source if you would like to v...

Community Participant
Canvas Developers Group
:

API

chrome extension

Custom JavaScript

custom reports

Javascript

report

  • 6 Likes
  • 6 Replies

Learn about some of the new features that I built and released in v3.0.0 of the Canvas LMS Mods (Basic) Chrome extension to enhance the experience of creating/editing rubrics.  The code for the extension is open-source if you would like to view and/o...

Community Participant
Canvas Developers Group
:

Canvas rubric

chrome extension

Custom JavaScript

Javascript

  • 2 Likes
  • 7 Replies

Hi all, I've deployed an LTI 1.3 tool as a Discussion Topic Menu, and when I click the menu item in my course, I get back a json result, but I can't find the Discussion Topic ID in the json results.   Does anyone else have experience working with LTI...

Community Member
Canvas Developers Group
:

LTI 1.3

  • 0 Likes
  • 0 Replies

I recently updated my Canvas LMS Mods (Basic) Chrome extension to provide some new enhancements to the course search and admin flyout menu inspired by ideas and requests I have seen from other users in the community.

Community Participant
Canvas Developers Group
:

API

API Canvas

chrome extension

Custom JavaScript

  • 12 Likes
  • 47 Replies

It's few months that I don't access the Canvas app installed on OVH VPS server. I tried now and it shows the directory of files, but not the login interface. Nothings has been changed since the last time I use it (december 2022)

Community Member
Canvas Developers Group
:

Professional Development

  • 0 Likes
  • 2 Replies

Hi all,I would like to attach a zip file to all of my students submissions. I have been able to upload the file via the Cavnas API. However, I cannot seem to get the file to attach a student's submission. Acccording to https://canvas.instructure.com/...

Community Novice
Canvas Developers Group
  • 0 Likes
  • 1 Replies

I need an access token to grab a list of line items during the LTI1.3 workflow. I am currently receiving an unsupported grant type error.I have seen claims that Canvas does not support this flow to issue access tokens for machine to machine API use.L...

Community Member
Canvas Developers Group
  • 0 Likes
  • 0 Replies

I'm a teacher, and I've been playing with the api in a few other sheets that I've found. It's got me wondering if I could use a google sheet with a series of my gradebooks brought from other sheets, and have it update the grades in canvas.

Community Member
Canvas Developers Group
  • 0 Likes
  • 2 Replies

Hi, I'm new

Community Member
Canvas Developers Group
  • 0 Likes
  • 1 Replies

I have a suggestion for a couple new features that I know i would use frequently. I believe other students would as well. It is efficient and time saving, also would help navigate us through what we have completed over our time in school, our past an...

Community Member
Canvas Developers Group
:

Assignments

time saving

  • 0 Likes
  • 1 Replies

Hi Im a Canvas Admin, for a University I am requesting a design feature for Canvas, is it possible to add a points total option to appear on the Assignments modules for each category or the GradeBook total column? I have instructors with 25 to 40 ass...

Community Explorer
Canvas Developers Group
  • 0 Likes
  • 1 Replies

Dear Canvas This is Wasta, I am using Canvas app which my school provides me to takes the video lecture but on my Ipad (IOS 15) generation 8 ,as I open the video there is no audio in the video , only when I start the video there is a sound but as soo...

Community Member
Canvas Developers Group
  • 0 Likes
  • 0 Replies

Dear Canvas Dear CanvasThis is Wasta, I am using Canvas app which my school provides me to takes the video lecture but on my Ipad (IOS 15) generation 8 ,as I open the video there is no audio in the video , only when I start the video there is a sound...

Community Member
Canvas Developers Group
  • 0 Likes
  • 0 Replies

My team is trying to replicate in one of our views how Canvas presents TODOs in its own UI. The TODO items endpoint (https://canvas.instructure.com/doc/api/users.html#method.users.todo_items) appears to be the correct one to use, although it's unclea...

Community Member
Canvas Developers Group
:

API

pagination

TODOs

UI

  • 0 Likes
  • 2 Replies

Product Blog: Developers

Blog posts from the Product blog for Developers on the Instructure Platform.

We are committed to providing a reliable and efficient service for your data needs, and as part of this commitment, we will be performing scheduled maintenance on our CD2 API infrastructure. This maintenance is essential for ensuring continued perfor...

Instructure Instructure
The Product Blog
:

Admin Analytics

Canvas Data

Canvas LMS

Developers

Intelligent Insights

Release Communications

Roadmap Processes

  • 2 Likes
  • 3 Replies

Discover how global collaboration is driving innovation and shaping the future of Canvas LMS. Dive into the highlights of our latest discovery session and see how we're committed to enhancing the educational experience for our diverse user community.

Instructure Instructure
The Product Blog
:

Canvas LMS

Developers

Roadmap Processes

  • 5 Likes
  • 0 Replies

We will be upgrading to the latest versions of jQuery and jQuery UI. If your institution uses custom JS/CSS, we recommend checking your beta instances.

Instructure Instructure
The Product Blog
:

Canvas Catalog

Developers

  • 2 Likes
  • 0 Replies

Major web browsers are beginning to phase out support for third-party cookies, a change that may have a significant impact on the functionality of LTI tools integrated with learning management systems such as Canvas. Although this change will not dir...

Instructure Instructure
The Product Blog
:

Canvas LMS

Developers

LTI Integrations

  • 5 Likes
  • 10 Replies

Starting June 19th, 2024, all HTTP responses from Canvas will transition to full lowercase response header names to align with industry best practices. This change impacts API users, browser users, and other clients.

Instructure Instructure
The Product Blog
:

Canvas LMS

Developers

  • 4 Likes
  • 13 Replies

Data Access Platform (DAP) CLI and Client Library v1.1.0 is now available.  Version 1.1.0 is a fast follow to our GA release to address some community identified issues with a new feature enhancement to prepare us for future updates.

Instructure Instructure
The Product Blog
:

Admin Analytics

Canvas Data

Developers

Release Communications

  • 3 Likes
  • 5 Replies

Data Access Platform CLI & Client Library is now GA

Instructure Instructure
The Product Blog
Comments closed
:

Canvas Data

Canvas LMS

Developers

  • 5 Likes
  • 29 Replies

We are updating jQuery in Canvas and your custom JavaScript might break if you leverage jQuery in it

Instructure Instructure
The Product Blog
Comments closed
:

Canvas LMS

Developers

  • 6 Likes
  • 20 Replies

Canvas is changing its LTI 1.3 OIDC Auth domain to align with security practices and to support the new LTI 1.3 Platform Storage specification - which lets LTI tools still function even when browsers disable cross-site 3rd-party cookies. LTI 1.3 tool...

Instructure Instructure
The Product Blog
Comments closed
:

Canvas LMS

Developers

LTI Integrations

Release Communications

  • 2 Likes
  • 47 Replies

We decided to implement New Quizzes Public API in GraphQL and here's the first information you need to know about and what you can expect from us regarding the documentation of the API.

Instructure Instructure
The Product Blog
Comments closed
:

Canvas LMS

Developers

New Quizzes

  • 5 Likes
  • 20 Replies

Instructure has a long history of opening the systems we build to extension and enhancement.  When we build products like Canvas, we want to make sure they work well for ALL our customers. After a long series of forays and experiments examining wheth...

Instructure Alumni Instructure Alumni
The Product Blog
Comments closed
:

Canvas LMS

Developers

  • 8 Likes
  • 3 Replies

Let's discuss New Quizzes Public API's foundation: GraphQL or REST? 

Instructure Instructure
The Product Blog
Comments closed
:

Canvas LMS

Developers

New Quizzes

  • 7 Likes
  • 16 Replies

As I looked at my calendar this month I was reminded this May 13 (today) marks an anniversary of when LTI support was deployed to Canvas. This year will be 10 years! \o/

Instructure Alumni Instructure Alumni
The Product Blog
Comments closed
:

Canvas LMS

Developers

LTI Integrations

  • 7 Likes
  • 0 Replies

If you are using Developer Keys, ensure your HTTP Redirect URIs are secure before March 3.

Instructure Alumni Instructure Alumni
The Product Blog
Comments closed
:

Canvas LMS

Developers

  • 0 Likes
  • 1 Replies

If you are a developer who used oEmbed with LTI content embedded into the Canvas Rich Content Editor you will want to review this.

Instructure Alumni Instructure Alumni
The Product Blog
Comments closed
:

Canvas LMS

Developers

LTI Integrations

  • 2 Likes
  • 0 Replies

Data is a powerful tool that has the potential to transform the way we offer education to students. Over the past five years, the Canvas data sharing product has been very important to our users and institutions.

Instructure Alumni Instructure Alumni
The Product Blog
Comments closed
:

Canvas LMS

Developers

  • 8 Likes
  • 20 Replies

Recently, IMS Global announced the deprecation schedule of the LTI 1.0, 1.1, 1.2, and 2.0 specifications. Going forward, LTI Core version 1.3 (LTI 1.3) will be the recommended specification for new integrations and any integrations wishing to upgrade...

Instructure Alumni Instructure Alumni
The Product Blog
Comments closed
:

Canvas LMS

Developers

LTI Integrations

  • 6 Likes
  • 40 Replies

Recently IMS Global Learning Consortium announced an unprecedented number of education platforms who have been identified as early adopters of LTI Advantage and have run through early certification testing. The next day Instructure issued a statement...

Instructure Alumni Instructure Alumni
The Product Blog
Comments closed
:

Developers

  • 5 Likes
  • 0 Replies

Since its inception, Canvas has always been open and transparent about our business and our features. We believe in being open. We believe in allowing you to use Canvas the way you want to use Canvas. And branding is one component that we’ve been wor...

Instructure Alumni Instructure Alumni
The Product Blog
Comments closed
:

Canvas LMS

Developers

  • 31 Likes
  • 64 Replies