-
Help getting custom JavaScript to work....getting 422 error in console
Can anyone help me figure out why my custom javascript is not working? I have loaded custom CSS and custom JavaScript, and the CSS is working fine, but the JavaScript is being rejected in the browser console with a 422 error. I am doing a simple test in the JavaScript to make sure it works...here is the simple code that…
-
Using the API - I've read it all, but I need a helping hand!!
I'm doing some learning and work on making API calls to Canvas. I'm almost there - I can write the calls in Postman and get json results. Now I need to go over the next hurdle of learning - using python or some other coding language to actually deal with the json data - for example getting it formatted in a CSV, looping…
-
With manually created Users... Password not working
Hi All. So after creating a user via posting to the api within my function.. The user gets created fine. However when I try logging in as that user using the password I generated in my function it is not allowing me to do so. Am I incorrect in assuming I should be able to login with the password I provided within the…
-
Add functionality to flag students in the grade book
I'd like to be able to add flags to students in the gradebook, like "IEP" or "504" or what-have-you.
-
Changing grades at a later date with LTI 1.3
Hi, Using LTI 1.3, is it possible to programatically change grades at a later date? Right now I have: $launch = LTI\LTI_Message_Launch::new(new LTIDatabase()) ->validate(); I then have a student work through an assignment, and then use this object in performing the grade passback within that session. This works great, but…
-
API, CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource
Hello, all Ok, I am completely stumped. I have spent hours watching videos, following tutorials, tinkering with both my IIS server, the webconfig file on the IIS server, and my code itself. I have just been spinning my wheels so I come begging for help! I made a webapp using HTML and Javascript making API calls via AJAX.…
-
Multiple assignments from the same LTI 1.3 app
Hi, I've (finally!) been able to successfully perform my first grade passback using LTI 1.3. However, for my particular use case, the app will consist of multiple assignments per course. I thought that I could just create new assignments and each time I launched a new app it would have a different resource id so that the…
-
looking for integration specialists for WordPress/WooCommerce & Canvas on self hosted server
hey folks - it's been awhile since i've posted. i'm an admin of a self run Canvas server for an educational startup and i'd like to integrate it with our WordPress/WooCommerce setup so that students who purchase courses can have IDs created on the server and be enrolled in the appropriate Canvas course. currently i'm…
-
Cannot retrieve min max mean grade object
I am using a student account API token at the moment. I can retrieve all assignment grades with the following request: /v1/courses/${courseID}/assignments` + accessToken + `&include[]=submission I noticed that the Assignment API reference also includes the following statement: score_statisticsAn object containing min, max,…
-
Outcomes API - "Find" Account Outcomes and link to Course via the API
I'm comfortable with the API, but scratching my head a bit about how to make outcomes which are defined at the account level usable at the course level. I think I want to use the import endpoint, but that requires knowing the course root_outcome_group, as well as the source_outcome_group_id I assume I can get those via…
-
How to determine LTI 1.3 login / oauth / authorize / jwks URLs
Hi all, I am finalizing my LTI 1.3 tool implementation, and I am down to one remaining question. During development I hardcoded some Canvas URLs into my configuration: const CANVAS_OIDC_LOGIN_URL = 'https://my-canvas-hostname/api/lti/authorize_redirect'; const CANVAS_OIDC_TOKEN_URL =…
-
Add a delay to Grade percentage for missing submissions:
Okay, so theoretically I want to create a script that would add a delay to the Grade percentage for missing submission. I am here for guidance. Is this a possibility? If so where the hell do I need to look?
-
JS Hook for Modal?
Just wondering if any JS override experienced folks out there know of a way to hook into the event when a modal dialog is shown...similar to how bootstrap provides one for the event of "shown.bs.modal" https://getbootstrap.com/docs/4.0/components/modal/ Specifically I'm looking for a way to know when someone has displayed…
-
Need clarity on OAuth authentication when managing courses
We have an LTI tool that is currently added to courses individually using the client id. If, for example, the course admin then clicks on "Our Tool" in the Course Navigation we show them a list of the quizzes in their course. This works fine for developers because we can grab a bearer token from our account and hard code…
-
Canvas Calendar Sync to Spreadsheet?
We're a 1-1 iPad secondary school currently looking at adopting Canvas organization wide. As far as I can see, there is no way to sync/import calendar events from an outside source like a Google Calendar, Sheet, or ICS. We have a rotating 8 period schedule that makes working within Canvas' current calendar challenging…