User Script to Bulk Publish Courses
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
I have developed a user script that will allow an Account Admin to bulk publish courses from the admin account course search page. Using the course search before opening the bulk publish dialog will help narrow down the unpublished courses that can be loaded in to review for publishing. This will also work on the course search of sub-accounts if there is a need to narrow the courses to a specific sub-account.
To use the user script, you will need to use a tool for loading user scripts (such as TamperMonkey Chrome Web Store Listing) or add it as a part of the theme in your Canvas environment (if you are an Account Admin). If using a tool for loading user scripts, be sure to update the @match web address (as needed) on line 7 in the header comment. Users using the Canvas hosted domain name shouldn't need to make any adjustments. The Bulk Publish Courses Raw Source Code will need to be installed for use with your tool for user scripts or added to your JavaScript Canvas theme file.
This user script is part of the Code with Ski User Scripts Repository. It is recommended to review and test the code before using it. Be sure to check with your school administration/IT staff before using any user scripts in case they have security and/or review guidelines that must be followed before use.
How to Use
Begin by going to the admin account with the courses you desire to bulk update. Use the course search to narrow down the courses as appropriate, such as a select term and/or searching for a keyword/phrase in the course name. Click "Bulk Publish" when you have used the search to narrow down the results as desired. *If you close the dialog and update the search, you can click bulk publish to open the dialog again and load the courses again based on the revised course search.
Click "Load Unpublished Courses" to add rows to the table for each unpublished course that meets the current course search criteria.
All the loaded in results will be selected to publish by default. You can use the checkbox at the top of the table to check all and/or uncheck all options, or you can use the checkbox on an individual row to control if that specific course should be included or not. Any unchecked course rows will not be included in the bulk update.
After you have updated the selected courses as desired, click the "Publish" button and confirm that you want to perform the bulk publish. The loading messages will be updated as courses are published one at a time. Avoid reloading or leaving the page as it will stop the process, and you will need to repeat the process for any courses that weren't updated. Please note this process will take longer to complete the more courses there are to publish.
After the process completes, all the successfully published courses will be removed from the table. Any courses that weren't able to be published will remain in the table along with any that weren't selected to be published. The loading messages will reflect error messages for any courses that were not able to be updated.
If you refresh the course search page you should see the updated state of the courses.
Change Log
Version 1.1.0
- Added ability to download loading messages
- Updated file name to include ".user" so it can be automatically detected by TamperMonkey as a user script
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.