-
Removing Questions from Question Banks Once Used
I received the following question from an instructor - is this possible? "I would like to make a test pool that, once a student gets a question, that question is removed from the question pool. (Ensuring that each student gets a different question on that topic.) Do you know if there is a way to code this in Canvas?"
-
One click opens multiple external browser pages
On my Front Page I have three clickable links to DOE pdfs useful for end of course practice tests. These include: Formula Sheet, z-table, and Desmos calculator. My students can click each link separately and all three will appear in three different browser tabs; which can be accessed during practice testing. Is it possible…
-
Navigating to a specific file page in a Canvadocs iFrame
Hi everyone! We are working on a Canvas file search functionality where search results would need to navigate the user directly to a specific page of the file. We have been tinkering at the Canvadocs iframe properties and custom hacky JS solutions but haven't found a way to specify the exact page navigation. Is there any…
-
Canvas JWK Private Key for OAuth
Hi! I'm working on generating an access token in order to utilize the LTI 1.3 Advantage Services, but I'm a bit confused about one aspect of this grant flow and I'm hoping someone can provide some clarity. As described under 'Step 2: Request an access token' here:…
-
Quicker troubleshooting
Hi, I'm a developer who has an app that does a variety of things including grade passback using LTI Advantage. After a few thousand successful grade passbacks, my calls began to fail for a small subset of students from one school. I thought this was odd since I was using the same exact code for all students in the school.…
-
LTI Development: Student Context Card Placement (student_context_card)
I'm interested in adding a new placement on the Student Context Card for our LTI. However, the student ID is not available in the LTI launch POST data. I'm not seeing a suitable variable substitution either ... https://canvas.instructure.com/doc/api/file.tools_variable_substitutions.html I see that a student ID is passed…
-
How to provide the click event on line stroke element in canvas using javaScript ?
I am trying to provide the click for a line which is drawn by using canvas in Javascript. When I click on the line it should be highlighted and click again highlight should be removed. Please help on this.
-
Assignments created with LTI 1.3 line_items not shown in calendar and not opening in new tab
Hi all, I'm developing canvas LTI 1.3 integration with our system, and have two questions. * I did as described in documentation and when I'm creating line item I am setting "endDateTime": "2022-02-07T22:23:11+0000" but it's not showing in calendar and appears in UNDATED list. * How can I force created assignment to "Load…
-
REST API PUT conversations only updates the first conversation
When I use the Canvas Live API, I can do something like this URL: https://my.instructure.com/api/v1/conversations Event: Star Conversation_Ids: 90210,86753 Both of the convesations are starred. If I do the same thing via Postman or a Python script, only the first of the conversation_ids is updated, and the progress URL…
-
Listen for Course Summary and people to load (javascript)
I wrote a script I would like to run right after the Course Summary on the Syllabus page has loaded. I also wrote another script I would like to run right after the people on the People page in the course menu are loaded. What is the best way to listen for this in javascript? What do you suggest?
-
Using API to query Course-Level Notification Settings
Hi all, I am trying to find out how to use the Canvas API to find out whether users have disabled their notification preferences for a certain event (namely, the creation of a new announcement) at the COURSE level. I have successfully queried Canvas to get that information at the user level. Any pointers? Thanks in…
-
PWA (Progressive Web App) for XR (VR & AR)
Is the R&D team at Canvas considering the idea of making Canvas a Progressive Web App (PWA) such that it functions in XR browsers? Thank you.
-
How to Get Student File Submission to Quiz Questions using API
I am able to get attachment_ids for any file students attached to file-upload based questions on a quiz, using the following request: https://canvas.instructure.com/api/v1/courses/XX/assignments/XX/submissions?include[]=submission_history&attempt=1 As part of the response to above request, I receive the following JSON…
-
Using the API efficiently
I need to get enrollments for each section in each course in semesters of interest. To do this, I load the list of semesters to get numeric IDs, filter those, then walk the semesters and get a list of courses and filter those, then walk the courses, then walk the sections, then for each of those, walk the roles, then walk…
-
html grid column size issue
I am having an issue with responsive columns. There is a gap between the columns that I cannot figure out how to remove. There isn't a page though when the boxes are stacked. I've tried setting the width of the column to 100% and auto. I've tried setting the margin to 0. Any ideas? I've pasted my code below. <div> <div…