-
GraphQL: submissionConnection, user node loginId is always null
Hello, In our instances, the following query, results in any and all `user` nodes having the `loginId` attribute as a null. query MyQuery { course(id: "654321") { sisId assignmentsConnection { nodes { name pointsPossible submissionsConnection(first: 10, filter: {userId: "123456"}) { nodes { user { sisId email shortName _id…
-
Interface with One Drive
HI I was wondering if Canvas can interface with Onedrive files. I have all my lecturers and journals for class saved into my one drive. However, I can't directly move them into Canvas. In order to do so, it requires me to download to my local drive. This is not great for my computer. I was hoping we could interface with…
-
Where do I find data from Canvas Catalog in my Google Analytics 4?
Hi all, I have connected my Google Analytics with the Google Analytics ID on the Canvas Catalog, however, I am unsure of where to find the data from the Canvas Catalog in Google Analytics. Does anyone know where this information gets put in GA4? Additionally, what kind of information will I be able to get? I'm curious on…
-
External Tool Install via API at Sub-Account Level
Greetings, new to this Forum! I used the API to install an external tool to a sub-account (let's call it Subaccount A). The reason I used the API instead of GUI is because I wanted to specify course_navigation[default] = disabled, because I realized that not ALL the courses in the sub-account would want this LTI in their…
-
Find the Outcome ID
I am working to make small changes (update the mastery points) to Outcomes through the API. I have the syntax to make changes, but I can not locate the Outcome ID for individual Outcomes. I ran through the Outcome export but the ID field is not listed. Does anyone know where to find the Outcome ID for each outcome?
-
Retrieve Canvas ID and SIS User ID using User ID in Canvas LMS
"During the LTI launch, I am receiving the following parameters: * canvas_id * sis_user_id * login_id * global_canvas_id * user_id The user_id is in this format: "9dfd5a225d8c9dacba7302c095df431b5e40fb63," which I initially saved in the database. Is there any API call in Canvas or any other method to retrieve the canvas_id…
-
Attendance module in canvas - message for absences
I am currently exploring the Attendance Module in Canvas LMS and its capabilities for sending automatic messages to students who are marked as absent. Is there any way to setup multiple registers for different lessons on the same day? I have a few other questions: * Configuring Absence Notifications: How can I set up…
-
Get admin roles through API
Hi all, I'm hoping someone might be able to help me out, as I'm running in to some brick walls on a project... I'm trying to create a javascript function to be used for customizations in our theme that will return what I refer to as a users roles in context... What I mean by that is that if the user is on a page in course…
-
Get courses based on an attribute setting
What api endpoint can be called to fetch a list of all courses in our system based on a course attribute? The ultimate objective is to find the courses with a restrict_student_past_view attribute equal to 'false', so I can then use the Update Course Settings endpoint to change it to 'true'. I thought the List your courses…
-
Virtual Reality in canvas
I'm interested in integrating virtual reality (VR) content into my Canvas course using the Oculus Quest 2. I've explored a few options for embedding VR content in Canvas, but I'd like to gather insights from the community: * Link Integration: How can I create a link to VR content in Canvas? Are there any best practices or…
-
OutcomeResult.id is "null" from /api/v1/courses/:course_id/outcome_results, how so?
I'm getting outcome results via "/api/v1/courses/:course_id/outcome_results" and some of those results have "id" field equal to "null", wondering why is that? what does it mean? Is it because those results got deleted/overwritten somehow?…
-
[PHP - Curl] Handling pagination with acces_token
Hi there! https://canvas.instructure.com/doc/api/file.pagination.html I would like to retrieve +100 students per account and per page. According to Canvas API documentation, "The one exception is that if an access_token parameter is sent for authentication," I always send the acces_token for authentication; if I would…
-
Add New User using API on Canvas Free for Teachers
Hello, I'm looking to automate inviting users to a Canvas page on Canvas Free for Teachers based on their email address. I looked at the https://canvas.instructure.com/doc/api/enrollments.html#method.enrollments_api.create API and saw that it takes in a user_id. How would I go about getting or looking for…
-
Global Navigation Custom [Sub Account] Help Links
I heard a DJ recently say "disk space is cheap, inspiration is not", after a composer finished something they were about to delete. I have a folder of these little hack ideas people had and sharing seems nicer than deleting them. Function for global or sub account themes to add help items to the Help Trays for sub…
-
Global Navigation Custom Links
https://github.com/robert-carroll/ccsd-canvas/tree/main/global-nav-custom-links I've updated this to fully support the responsive hamburger menu for custom links. There is no more jQuery. Please, test before production; Feedback, always welcome.