Bulk delete of old documents from receipt hub

I noticed we were using a huge amount of space in the receipt hub (mainly from when we used to post large photos of receipts - which we no longer do) and I looked into ways to cut this down (since it’s apparently costing us ‘rent’ to keep stuff there).

Firstly, I took a backup of all the old documents. This was easy, following the documentation. Then I looked for a way to bulk delete the files I had taken a backup of. It seems there isn’t a way to do this easily: each file must be selected and deleted individually.

Before I risk RSI with 500+ clicks, is there a way to do this quickly that I have missed?

Hello @The_Toaster

You can do this via the Document Manager.

It will allow you to delete 50 (1 page) at a time.

Thanks, Steve.

I’ve tried that, but although there’s a “delete selected” there doesn’t seem to be a “select all” or any way to select multiple documents other than clicking the box next to each one.

Hello @The_Toaster

I hadn’t even noticed, I have asked the development team to see if this can be added.

In the short term you can pre check all the boxes on the screen using a custom script.

  • Go to Account settings > Design Customisation > Advanced CSS & HTML Customisation
  • Select custom scripts on the left
  • Add in the code below
$(document).ready(function() {
   $('.page-documents-index .chkFile').prop('checked', true);
});
  • Click Save File
  • Click Activate

When you go into the document manager all the check boxes will be ticked.

1 Like

Thank you. The script works but selects the first 50, whereas I want to select the last 50 (i.e. the oldest) as we need to keep the current year’s docs online. Hopefully the dev team will just add a button at the top of each page, solving the issue.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.