how do I create a csv file listing all teacher?
@KentKersey1
While @chriscas is waiting for you to get back, I'll go ahead and give an answer to one of the things you might want. When you see the complexity of the answers (and I'm only answering one), you may understand why he asked for clarification.
If you would like to export a list of all of the teachers for all courses and have full admin rights, you can go to your Admin > Settings page. Choose the Reports tab. The Provisioning report will allow you to export information about your instance, but it comes in a way that you probably don't want (unless you understand databases and normalized tables).
You now need to merge the information that you need together into a single file. How to do that is beyond this response when we're not sure if this is even what you're after.
If you have a Student Information System, the information may require less work to get from there than from Canvas. Your institution probably has someone who manages that who could generate a report for you.
A third option is to ask the GraphQL interface for the data. Canvas has said that they will start enforcing pagination limits on the GraphQL requests, but as of January 18, 2025, they still haven't done that so you can get all teachers for all courses as long as the request doesn't take too long. I'm including a script that will give you all of the teachers for a specific term as a request for all teachers for all courses from all time will probably be too long and timeout.
To use this, add /graphiql to the end of your main Canvas instance (your dashboard) URL.
Copy/paste this into your code window and then change the sisId on line 2 to match yours. Our Spring 2025 term is "2025a". If you don't have SIS IDs for your term, you can change it to "id" and put in the Canvas term ID. You might also need to change line 10 to use their Canvas ID rather than their SIS ID.
query instructorsByTerm { term(sisId: "2025a") { coursesConnection { nodes { _id name enrollmentsConnection(filter: {types: TeacherEnrollment, states: active}) { nodes { user { _id sortableName } } } } } } }
Now execute the command with the big triangle inside a circle at the top. It will take a while and may timeout if you are a large institution.
On the right panel, you'll get the results, which are a JSON object that starts with data, term, coursesConnection, and nodes. After "nodes" there is left square bracket. Select all of the data starting with the left bracket through the bottom where you will see a right bracket. Include both brackets, but not the stuff before or after them (don't include the four curly braces at the end).
Copy that data to your clipboard.
Now go to a site that will convert JSON to CSV. I've linked to the one at ConvertCSV, which works well for me and the conversion is done in-browser, whereas some other sites send the information to a server out of country for processing and that's a concern for some people.
You can then download the result as a CSV file. There is a JSON to Excel file, but it converts numbers to strings, so I tell my students to not use that option.
Hi @KentKersey1,
Could you provide some additional detain for your question, as it could be interpreted multiple ways...
Are you looking for you of the following?
In addition, letting us know whether you are a teacher, a subaccount admin, or a full root account admin in Canvas will be helpful.
Look forward to hearing back form you soon!
-Chris
We are all familiar with the standard Course Calendar, where assignment due dates are automatically added. However, at my institution, we structure our assignments as Challenges that develop over a period of time, rather than just a single deadline. Currently, the calendar only highlights the "end point." It would be a…
The current placement of the "Submit" button creates a "slip" in user behavior where habit-clicking "Next" leads to an accidental final submission. I think Canvas could easily fix this by: Moving the Submit button away from the navigation buttons (maybe above the question instead of below it) and/or Adding a "Confirm…
I am trying to create a skill tracker in Canvas for a veterinary technology program. My students need to perform a technical (Hands On) skill in front of the instructor. I want the student to then submit an assignment, or quiz/survey answering a few questions about the specific scenario. The assignment/Quiz is ust to…
First Feature Suggestion: Display Last Date of Attendance when using Canvas Attendance Tool One of the required pieces of information I must collect is the last date of attendance when a student violates my attendance policy. This date is federally required for institutions to determine a student’s withdrawal date under 34…
Hi everyone! I would love to hear your suggestions and best‑practice tips on implementing copyright settings. https://embed.app.guidde.com/playbooks/8eYgHHmwTXKMLxDW4LqEDX