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 was thinking of this a while ago and have been trying to message Canvas support about this but they suggested here but not which category. I apologize if this is the wrong spot. When messaging students right now we need to message one by one. I would like to know if there is a way we can change that to streamline…
I'm building a tool for my institution that imports grades from another LTI tool into Canvas so instructors can automate late assignment policies not otherwise supported by Canvas. I'm trying to use the LTIv1.3 ID which is readily available on the LTI-side as a link to the student record on Canvas, but I can't find the ID…
How can one track Canvas Media use without having the reports available from Canvas Studio? Checking API endpoints and the Data 2 schema, there do not seem to be dedicated Canvas Media endpoints. Am I missing some? A method I've considered is using the body field of the wiki_pages table, as this contains the html code of…
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…
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…