Bulk Edit Content with a Collection
Collections are extremely useful in a website for a number of reasons. They're great for displaying content dynamically, based on a search criteria that you set. With a simple trick you can use the results of a Collection to bulk edit your content items. Here's how:
- Navigate to a Collection you'd like to use
- Once there, add folder_contents to the end of the web address (i.e. http://www.mysite.org/upcoming-events/folder_contents)
- You should now see a screen that looks something like this:
The same buttons that appear under the Contents tab are now available in the Collection results page. This means you can bulk delete, rename, copy, cut, or change state on this dynamically generated content without having to go to each folder where that content is contained.
Some common applications include situations where you want to:
- Delete all content from my site older than a certain date (i.e. content from before January 2009)
- Publish all content related to a particular keyword
- Delete news and events based on a relative date range (i.e. more than 6 months old)
- Many more!
Of course you would need to create the Collection capable of pulling the content items together that you wanted to edit.