Documents — User Guide
Who can use Documents
Your workspace must have Storage and Documents installed. Documents cannot install without Storage. Your role must include the relevant permissions (view, create, update, delete, restore, force.delete as needed).
Install
- Open Marketplace
- Install free Storage first (if not already entitled — Team Chat may have installed it for you)
- Install free Documents under Operations
- Open Documents from the sidebar
Without Storage, Marketplace blocks Documents install. Uploads also require remaining Storage quota.
List
Open Documents from the sidebar (Operations area).
- Search by title, description, or original file name
- Filter by category, folder (including Unfiled), or toggle trash filters (Active / Include deleted / Deleted only) when you have restore
- KPI cards summarize total, categorized, and uncategorized counts
- Delete permanently requires
documents.force.delete(not on default role maps — same posture as Vendors / Assets)
Upload
- Click New document (shortcut:
nwhen the list is focused and you have create permission) - Enter a title (required). Optionally add a description, category, and folder
- Optionally link a Contact, Company, or Lead when those modules are installed — use New beside a picker to create and select inline when you have create permission
- Choose a file (required on create). Allowed types include common office docs, images, text/CSV, and archives; max 50 MB per file
- Save — the file is stored on the workspace uploads disk under the tenant Documents directory. Allowed types and max sizes follow Settings → Storage → Upload limits (defaults include PDF, Word, Excel, and common office formats).
Focus search with Ctrl/⌘+F.
Categories
Categories are a flat label list (separate from folders).
- Create / edit categories from Manage categories (permissions reuse
documents.create/update/delete/restore/force.delete) - Assign a category when uploading or editing a document
- You cannot soft-delete a category that still has documents; clear or reassign them first
Folders
Nested folders organize documents in a directory tree (up to 5 levels). Categories remain optional labels.
- Create / rename / nest folders from Manage folders (same
documents.*permissions) - Assign a folder when uploading or editing a document
- You cannot delete a folder that still has documents or subfolders
Download
Open a document and use Download, or call the download endpoint. Download requires documents.view. Soft-deleted files are not downloadable until restored.
Edit & replace file
Edit metadata (title, description, category, folder) from the row menu or the document page. Optionally replace the file on update — the previous file is kept as a version (counts toward Storage). The new file size must fit remaining quota.
Versions
On the document view (and list peek Versions tab):
- Prior uploads appear as version history after a file replace
- Download a prior version or Restore it (copies that blob as the new current file and archives the previous current file as another version)
- There is no check-in / check-out lock
Soft delete & restore
- Delete soft-deletes the document row; the file remains on disk but stops counting toward Storage used bytes
- Only the uploader or the workspace owner can delete or permanently delete a document (having delete permission alone is not enough for someone else’s files)
- Select multiple active documents you own (or all, if you are the owner) and use Delete (N) for bulk soft delete
- Restore brings it back into the library and quota (blocked if restoring would exceed Storage allowance)
- Delete permanently removes the row and deletes the object from storage (trash / Deleted only) — same ownership rule
- In Deleted only, select rows and use Delete permanently (N) for bulk permanent delete
- Soft-deleted documents older than your workspace trash retention (Settings → General) are purged automatically — including the file on disk (
trash:purge-expired). Retention0keeps trash forever.
Permissions
| Permission | Typical use |
|---|---|
documents.view | List, open, download, stats, browse categories and folders, list versions |
documents.create | Upload documents; create categories and folders |
documents.update | Edit metadata / replace file / restore a version; update categories and folders |
documents.delete | Soft delete documents and empty categories / folders |
documents.restore | Restore soft-deleted rows; trash filters |
documents.force.delete | Permanently delete (owner/superadmin only by default) |
Storage quota
Every active document’s current size_bytes plus archived version bytes count toward the workspace Storage allowance (along with Team Chat attachments, feedback screenshots, and lead imports). Soft-deleted documents (and their versions) are excluded from used bytes. If upload fails with a quota error, free space or upgrade a Storage pack — see Storage.