Mass Delete Old Announcements

Jump to solution
arcelia_dalton
Community Member

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

2 Solutions
Naomi
Community Team
Community Team

Hi  @arcelia_dalton ,

The https://community.canvaslms.com/docs/DOC-10420-415250733 guide shows how to delete multiple announcements on the Announcements page. 

Naomi

View solution in original post

NicoDurand
Community Participant

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())

View solution in original post