Has anyone written automation that scoops up new files from the file system and imports them into courses in Canvas under "Files"?
Hi @SandaZG,
Can you elaborate on what you mean by "the file system"? Canvas has a files area for each user and each course, but it sounds like you're referring to something else, so we'd need to know what this thing is to be able to provide much guidance.
Look forward to hearing back form you!
-Chris
@SandaZG
Yes.
This is one of the things I'm going to mention in my InstructureCon presentation. Don't come just for that as I'm not going to show people how to do it. The presentation is to inspire people to take needs that they have and think beyond what's capable with the web user interface. My part of the presentation will mostly be examples with stories. My wife is copresenting and going to talk about things built-in to Canvas that you can that you might not know about and then a couple of my canvancements that she really likes.
For the script to update files, I used Node JS (I don't really know Python, but something similar could be done there) to scan the local files, fetch the existing files in Canvas through the API, and then compare timestamps. It then updates any stale files in Canvas In my case, I only want to update files, never add new ones.
If you have a library that handles connecting to the Canvas API, then the rest of the code wasn't very long. I had less than 90 lines of code to accomplish it, but it was specific to my needs. That is, I only wanted to upload PDF files that matched a certain regular expression for a single course.
I'm traveling right now on my way to InstrutureCon, so my ability to respond is limited.
Thank you, James, for spotting my question and responding. I won’t be a the InstructureCon, but will keep an eye on post-conference information.
Hello, I'm trying to utilize an API call to pull completed certificates and was hoping to download and store the certs as a backup. I can successfully run the API call but it will not allow me to view the certificate unless I access the URL while signed into an account where it's "my" cert. Is there a permissions setting…
https://api.badges.parchment.com/v2/users/{idOrEntityId} Hi. What type of ID should I be using to get the badges and pathway progress for a particular user? I have used all the SIS ID, or the ID as shown on the badger portal, but nothing is working. What kind of the ID does the API calls accept? please give an example.
Hello, We use PeopleSoft and developed an integration for retrieving grades from the Canvas API. It was working fine in dev and production but has since broken. The SSL handshake is failing according to this stack trace from the server : Apparently this can happen if the required certificates are missing, can anyone tell…
UI for weekly progression idea that rest in the Schedule tab of the **K-12 UI** of Canvas it's incomplete and I really would not take it and push it into instance but I am going to post it here because in the past people like @James && @robotcars || @Steve_25 have had terrific input in the past... maybe w/their eyes and…
I have a new React + Flask webapp. It has its own login for users to start using the app. I have added this as an external tool in Canvas. What I want initially is to see of canvas users can start using the webapp without having to login if they click on the external tool link in a canvas course. I have 2 methods…