-
Disable Navigation Menu for Custom Account Admin Role
I have added the following JavaScript code to hide the navigation tab in courses for faculty. However, when I have impersonated a user assigned to a sub-account with one of the custom admin account roles I created, they are still able to see the navigation tab when they go into courses. How do I make it so only those users…
-
LTI 1.3 and due dates
Greetings. I'm using an LTI 1.3 connection in Canvas to an LTI tool but the dues dates I set in Canvas don't port over to the LTI tool. When I had an LTI 1.2 connection the due dates would port over from Canvas to the LTI tool just fine. Can anyone shed light on this? Thanks!
-
Open Source iOS Mobile App Installation Issue
We're trying to install open source canvas student ios app https://github.com/instructure/canvas-ios We're able to setup the app but after successful login+authorize, it's not redirecting to the dashboard screen. It's stuck in loading screen. We debugged the code and can see that API calls are working fine and returning…
-
Canvas LMS - how to create access token by LTI key or API key?
Please, show me how to create access token by creating API key or LTI key. I don't know how to pass request https://canvas.instructure.com/doc/api/file.oauth_endpoints.html#get-login-oauth2-auth to get code for next step. I had client_id but the request bearer must be Ltik and I still encountered Error: Session not found.
-
Upload a file as a submission comment
Hello! I am a TA trying to write a script to upload graded pdfs to a student's submission as a comment file. I have the file successfully uploading, and I have a comment going through with comment[text_comment] but the attached file with comment[file_ids][] does not seem to be going through. I have tried a bunch of random…
-
LTI Advantage Score submission returns a 422 Error: The maximum number of allowed attempts has been
When I submit POST /api/lti/courses/:course_id/line_items/:line_item_id/scores Instead of allowing us to score the submission I receive a 422 error The maximum number of allowed attempts has been reached for this submission Please note we are not attempting to submit another attempt. We are just attempting to score the…
-
Placments Documentation
Greetings. Under "Key Settings" (/accounts/1/developer_keys#lti_key_modal_opened) in the 'Placements" section there is a drop-down menu with 36 items (see included screenshot). Where can I find the documentation for all the placements that appear in this menu? Thanks.
-
Create Courses through API
We are invoking the api/v1/accounts/:accountId/courses API to create the bulk courses. Can we create the multiple course using single endpoint. Please confirm.
-
Left Align a callout box
I am trying to left align a shadow/callout box. Is that possible? Or are callout boxes programed to be center aligned? I have tried to float left, but that didn't work. This is the current code I am using. TEXT GOES HERE
-
Assigning a user as an observer with the API
I have been exercising the APi a bit now for an integration project I am working on. One of the few issues I am having involves setting a user as an observer while enrolling a student in a course. Before I get to this point, I have: Added two users through the API using PHP: URI: accounts/self/users Params: 'pseudonym' =>…
-
Bulk Avatar assign/upload
I am stuck and have decided to turn here to find assistance. I am not a developer but have tinkered around enough with API calls, python, postman, curl, and I am just about to lose my mind. AI was useless and just went in circles. I am just trying to upload about 250 student profile pictures as their Canvas Avatar. I have…
-
Course Navigation API Sequence
Hello, Canvas Community. API calls are not in within my wheelhouse, and I've run into a roadblock I'm hoping someone can assist me with. I have the initial API call for Tabs (Course Navigation) working as expected and can run one at a time. However, when it comes to course consistency I'm looking for an easy way to run a…
-
Thread with space for Global Custom Navigation
An improved tool for adding items to the Canvas Global Navigation (Desktop and Responsive menus), with the ability to use it to extend and add additional features into the navigation with custom trays or tray modifications. https://github.com/robert-carroll/canvaslms-global-custom-navigation
-
Uploading file works but students cannot access it
I am using the API to upload a file, I am providing the user_id retrieved from canvas when obtaining the assignment submissions from the json response. Then I use that user_id in the following code: link_url = request_url("%s/assignments/%d/submissions/%d/comments/files" % (self.base_url, self.configuration.assignment_id,…
-
Canvas Development Server - Outbound email not working
Bitnami Canvas image - Sending email notifications isn't working I'm currently using the AWS Bitnami image (Ubuntu 20.04) for deploying Canvas and they are referring folks back to canvas-lms for help. I'm having a good experience with this so far (fixed issues with SSL, LTI, SIS Imports, and RCE API), but emails are still…