You can delete all attachments (or all attachments within the selected time range) for a page or multiple pages using Bulk Delete Attachments. This saves time and energy when there are many attachments that need to be removed.
Follow these steps to run the built-in script:
- Fill out Select a Space to run the built-in script for a particular space.
Once you select a space, Select One or More Page Trees appears.
Select which pages you want to work with by selecting the checkbox next to them.If you do not select any checkboxes, an error appears that says "No space or pages provided."
Select the Attachment Age of items to be deleted. The _Preset Filters_ are:
Older Than 6 Months
Created Within Last Month
You can also select Custom Filters by selecting one in the drop-down.
After selecting a Custom Filter, fields appear where you choose inputs. The Custom Filter choices are:
Created Within the Last
Created Between / Range
Check Notifications if you want to send notifications for updates.
If Notifications is not checked, watchers of the page do not receive an email notification that the attachments have been deleted.
You can select Preview instead of Run to view changes before implementing them.
Once you select Run, the Results of the script appear and attachments within the specified time range.