Finding and downloading files
Need one file back — a lost attachment, an old contract PDF, a deleted static resource? You don't have to restore anything. The Query Console can list every file in a snapshot and hand you a download link per file.
Using the File Search queries
- Open the Query Console on the snapshot that contains the file.
- In the Queries library, open the built-in File Search folder and pick the query for the file type you're after — Salesforce Files (latest), Files attached to records, Attachments (classic), Documents (classic), or Static resources.
- Run it, then narrow it down with a
WHEREclause — by name, parent record, date, or owner. (Built-ins are read-only; Duplicate one to keep your customized version.) - Click the Download link in the result row to get the file, with its original name and type.
[SCREENSHOT REQUIRED: File Search query results with the Download column visible]
Example
Duplicate Salesforce Files (latest) and add a filter like:
WHERE FileExtension = 'pdf'
AND ContentSize > 1000000
ORDER BY ContentSize DESC
…to list only large PDFs, newest first.
Good to know
- Files download exactly as they were captured in that snapshot — an older snapshot gives you the older version of the file.
- To restore a file into Salesforce (rather than to your computer), use Restore with the file's parent records in scope.