Mass Delete Old Announcements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I created a new canvas course, but all the announcements from the previous course transfer as well. How do I do a mass delete of all these announcements without having to individually delete each one? thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @arcelia_dalton ,
The https://community.canvaslms.com/docs/DOC-10420-415250733 guide shows how to delete multiple announcements on the Announcements page.
Naomi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One way is to use the Javascript console and type the following line. It will select all visible checkboxes and you can them delete them all at once:
document.querySelectorAll("input").forEach(e => e.click())
You can also create a bookmark with a slight modification:
javascript:document.querySelectorAll("input").forEach(e => e.click())
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OMG! This was so totally cool and it works!
Went to my Announcements page in Canvas. Then, under Chrome browser, three vertical dots, More tools, Developer tools (Shift+Ctrl+I)
and I typed in
document.querySelectorAll("input").forEach(e => e.click())
Didn't understand the bookmark suggestion but the above works great in selecting ALL the Announcement checkboxes on the page after I entered the Javascript code in the Console! Probably on other types of pages too with checkboxes, eh?! Wow! So jazzed, thanks 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this. It worked for me
Went to my Announcements page in Canvas. Then, under Chrome browser, three vertical dots, More tools, Developer tools (Shift+Ctrl+I)
and I typed in
document.querySelectorAll("input").forEach(e => e.click())