Skip to content

The document detail view

The document detail view (/files/file?documentID=…, or the same view inside a deal's Files tab) shows one document: a preview, its metadata and validity, who created/updated/approved it, and the actions available to the viewer. Access requires view permission on both the document and its folder; without it the page shows a not-accessible error rather than partial content.

What it shows

  • Preview — images render directly, videos play inline, and other file types (Office, PDF) are converted to an embedded PDF preview.
  • Status and validity — badges for archived, awaiting approval (pending), and rejected; time-sensitive documents show a validity clock: "Valid …" before the valid-from date, "Expires …" during the window, red "Expired …" after the valid-to date.
  • Metadata — size, description, tags, price-change details for PIM (the short description is shown only when it differs from the description, ignoring case, spacing and HTML) documents (change to market/group, justification, mitigating circumstances), and people panels: created by, updated by, approved by, rejected by (with reason), status changed by.
  • User stats and access list — a visit chart and per-user access table, shown to superusers only (the underlying data is only returned to them).
  • Tasks — tasks related to the document, with a create shortcut.
  • Watchers — users can watch/unwatch the document to be notified of changes.

Actions and who gets them

Action availability follows the document's own ACL (the capability flags computed server-side), plus role checks:

Action Requirement
Download anyone with view — unless the document has prevent download set, in which case admin only
Star / unstar (feeds the deal dashboard Key documents) edit
Upload new version edit — replaces the file and regenerates thumbnails. From version 3.8.3 the file it replaces is kept as an earlier version (see Versions); before that it is overwritten in place with no history
File details (edit metadata) edit — see Editing a document
Expire file (from 3.8.1) edit — one click, after a confirmation, marks the document time sensitive with its validity ending yesterday, so it drops out of current prices, promotions, key documents and expiring-document filters at once; hidden once the file is already expired. Who expired it and when, and the previous valid-to date, are kept on the document. To bring the file back, change the dates in File details
Delete delete
File permissions (ACL dialog) delete
Archive / un-archive, clone, unzip, re-index admin role
Notify members (creates a news post) edit
PIM actions (analyse prices, map fields, import) admin role + a PIM/price document + products enabled
Summarize file (AI) ebiz role

Why does the detail view change unexpectedly

  • The download button vanished or turned red — prevent download was set (admins still see it, styled as a warning). Cloned documents get prevent download automatically.
  • The document's content changed with the same link — someone uploaded a new version. From version 3.8.3 the earlier file is on the Versions tab; before that it is overwritten and no history is kept.
  • The document is suddenly labelled Expired — its valid-to date passed, or someone with edit permission used Expire file on this page (the document's metadata records who and when).
  • Status badge changed — the document moved through the approval workflow (pending → active / rejected / under review) or was archived.
  • Stats tabs are missing — they are superusers-only.

Versions

From version 3.8.3, each Upload new version keeps the file it replaces. The Versions tab, beside User Stats and Access List, lists those earlier files with their version number, when each was replaced and by whom, and a download for each. The tab is shown to people who can edit the document's folder. The document keeps its address and everything that points at it, so links, shortcuts and products that use the document get the new file. Deleting a document deletes its earlier versions too.

Files replaced before a site moved to 3.8.3 were overwritten and cannot be recovered.

What the document detail view is not

  • Not a version history before version 3.8.3 — "upload new version" simply replaced the file. From 3.8.3 see Versions.
  • Not a comment thread — the detail page has watchers and tasks, but no comments or activity feed.
  • Not the editor — metadata editing happens in the File details dialog (Editing a document).