-
What's sis_import_id for?
I'm working on integrating Canvas with another system, and I'd like to bring back an enrollment record ID from the other system and put it on the Canvas enrollment. Is sis_import_id an appropriate place, or is that supposed to be used for something else (and if so what)? Forgive my ignorance—I'm not a developer (using an…
-
Test plans for API scripts
I'm doing some API programming and was wondering if anyone had a formalized test plan for their programs that they would be willing to share. At this point, I'm just writing scripts and running them on our test, then beta environments, but I'm not really sure what sort of "gotchas" I could run into that I might not be…
-
Allow User to Add Their Name Pronunciation to Profile (phonetically + audio file)
Has any school gone ahead and added this feature themselves? We know there is a 3rd party LTI tool.
-
LTI 1.3 tool has different subject claim for the same user.
We have a LTI 1.3 tool that is currently deployed in the Course Navigation placement and we were looking at also deploying it in the User Navigation placement by adding an additional placement to the LTI Developer Key. This all works fine, however when the tool launch happens the "sub" (subject) claim in the JWT is…
-
graphql error querying with user id
Hi I'm having a problem get data for a specific user from the graphql API my graphql query is: query MyQuery($courseID: ID!) { course(id: $courseID) { enrollmentsConnection { nodes { type user(id: $userID) { _id name } } } }}variables are:{"courseID": redacted, "userID": redacted} and the response is: { "errors": [ {…
-
how to set :in_app on graphql query
i've been working all day on the problem described here: https://community.canvaslms.com/t5/Canvas-Developers-Group/Missing-verifier-on-attachment-url-Submissions-graphQL-query/m-p/461456 unfortunately, i'm not a ruby developer, so it's slow going reading the code, but it seems like doing a graphql query with a token is…
-
graphQL documentation
i have found the REST documentation to be quite good, but i haven't found graphQL documentation. it's nice that graphql schema is discoverable, but i'm left with some questions. here are two that i'm struggling with: 1) assigment.submissionsConnection.nodes has both an attachment and attachments field. why both? is there a…
-
Get full list of Canvas Users
I'm working on a project using Python to get our user photos posted as avatars in Canvas. I have it working fine for a small list of users defined in a CSV file on my computer, so that's probably the biggest hurdle. Our user photos are stored as 'SIS_ID.jpg', but to upload the user photos, we have to know the Canvas ID.…
-
Bulk Edit Assignment Due Dates for District Using API
Greetings! Due to issues our district is experiencing with grade sync from Canvas to Infinite Campus, we are planning to move from the daily sync to an "end of the semester" sync for all assignment data. Why? Because we have rolling enrollment for our school or students have a schedule change, we have constantly changing…
-
Resuable JWT with LTI Advantage
Hi, I've (finally) gotten my app to use LTI Advantage in order to pass back grades. After each launch, Canvas sends back a JWT with my library uses to passback the score. I'm currently saving the JWT in my database and using it until another launch and then saving the "updated" JWT to use for the subsequent grade passback.…
-
Posting grades with React app
Hi. I'm attempting to create a basic React app with an Express server and integrate this app as a third party LTI app in Canvas. I'm currently able to send a grade to the gradebook using the ims-lti library linked here. Here's a simplified version of my app and what I want to do. In my Express server, I have the following:…
-
Bad request when posting user against rest api
Hello dev people! I made a post in the regular community, but maybe it belong here? Here's a link to the post: https://community.canvaslms.com/t5/Canvas-Question-Forum/Bad-request-when-posting-user-against-rest-api/m-p/488499#M161621 Regards!
-
What's the deal with changing role_id's
So, I started looking at using API to add and remove enrollments in 2019. At that time, I had mades calls to /api/v1/accounts/86643/roles And found that for us, "id": 1208, "role": "TeacherEnrollment", "label": "Teacher", That project got put on hold, but I'm picking it back up. Today, when I get a teachers enrollment, I…
-
external tool placement
i have an external tool that i would like to have the option of placing next to the course (course placement), not in the course (assignment placement. however it seems i only have the latter option. how do i get more placement options for my tool that other (canvas built in?) external tools have - thanks mark
-
Cannot insert or find any course files
Hi everyone, Have you been in a situation that files are already uploaded but when you want to use it in Page, or Discussion, you cannot import? When I try to insert course files into Page or similar, Canvas always tell me that "Something is wrong". It seems that Canvas cannot find any of my course files. Please help me…