Skip to content

Documents screens ​

All seven nodes of the Documents branch in the Explorer (Document Types, Metadata, Templates, OCR, Versioning, Retention, Approval) open the same Studio screen, Files and documents (page key files), at different areas of it. This page documents each node by what the screen offers for it. The screen has three tabs: Browse (cabinets, folders, files), Documents (managed documents with a lifecycle) and Settings (types, categories, retention, storage, virtual folders). Cabinets, folders and files are described in File manager; storage providers and rights in Storage and access; video and audio in Large files, video and audio.

Document Types ​

Where to find it ​

Workspace > Documents > Document Types. Files and documents > Settings.

Key concepts ​

Document management uses one object type tree instead of separate type lists. The root is the system type; Cabinet, Folder and Document types are its subtypes, and each of your own types extends another. A type inherits every field of its parent and may add its own. A system type is marked System and cannot be removed.

Settings panels ​

PanelUsed for
Cabinet TypesTypes a cabinet can be created with. Base type CABINET.
Folder TypesTypes a folder can be created with. Base type FOLDER.
Document TypesTypes of managed documents.

Document type fields ​

FieldRequiredDescription
NameYesDisplay name.
CodeYesFixed after creation.
Super TypeNoThe type this one extends. (none) makes it a direct subtype of the root.
Approval Workflow (optional)NoThe workflow started when a document of this type is submitted.
CategoryNoA document category (see below).
Retention PolicyNoThe retention policy that applies to documents of this type (see Retention).
FieldsNoThe type's own metadata fields (see Metadata).

The list shows each type as Name (CODE), · System for system types, the workflow, the number of own fields and subtype of <parent>. Edit and delete controls are on each row.

Document categories ​

Categories group documents. A category has a Name, a Code and an optional Parent ((top level) for none), so categories form a tree. They can be chosen on a document type and as a lookup source for metadata fields.

API ​

/api/v1/object-types (types), /api/v1/documents/categories (categories), /api/v1/documents (documents).

Metadata ​

Where to find it ​

Workspace > Documents > Metadata. The field editor appears when you create or edit a type in Settings, and the generated form appears wherever a cabinet, folder or document of that type is created or edited.

Field definition ​

PropertyValuesDescription
Field nametextThe stored key.
LabeltextThe label shown on forms.
Typetext, number, date, dropdown, checkbox, textarea, richtext, lookupThe input.
Optionscomma separatedFor dropdown.
Lookup sourceDocument Categories, Retention Policies, Document TypesFor lookup: the options come from the live list, never a typed list.
Default valuetextPre-filled on a new item when the field is left untouched. The server applies it too when a caller omits the field. Not available for multi-value fields.
Requiredon or offMandatory field.
Multi-valueon or offThe value is a list of the field's type instead of one value.
ValidationMin and Max for numbers; Min length, Max length and Pattern (a regular expression that must match the whole value) for text and text areas

A type can start from another: Load fields from... copies the fields of an existing type.

Messages shown on forms ​

<Label> is required, <Label> must be at least <n>, <Label> must be at most <n>, <Label> must be at least <n> characters, <Label> must be at most <n> characters, <Label> does not match the required format. The submit button is blocked until no message remains.

Inheritance ​

Cabinets, folders and documents carry values for their type's fields, inherited from its ancestors. The standard fields come from the system type and its Cabinet, Folder and Document subtypes. Values are stored as JSON on the item and edited in the Fields section of a document.

Templates ​

The Templates node opens the same screen; document management has no template designer of its own. Two kinds of template exist elsewhere:

  • Document templates for generated letters and forms are made with the Print Template designer and filled by the workflow node document.generate, which can store the result in a cabinet and attach it to a record. See Reports and print templates and Node reference.
  • Type templates: a new document type can copy its fields from an existing type with Load fields from (see Metadata).

OCR ​

Where to find it ​

Workspace > Documents > OCR. Browse tab > filter row.

What the platform does with file content ​

StageBehaviour
Text extractionWhen a file is stored, text is extracted natively from PDF, Word, Excel and plain text files. The text is saved with the file and searchable.
OCRScanned images use an OCR provider. Without one configured, no text is produced for scanned pages, so they are not searchable by their text.
AI document serviceSummary, classification, field extraction, comparison and chat per file need an AI provider; without one the dialogs say the service is not configured.
Large filesFiles over 25 MB are stored without thumbnail or text extraction.

The file grid filter row has MIME type (for example application/pdf) and Text contains (full-text/OCR). The text filter uses a full-text index on the extracted text.

AI dialog ​

The file menu has an AI assistant. Fields: Categories (comma separated) for classification and Fields to extract (comma separated).

Versioning ​

Where to find it ​

Workspace > Documents > Versioning. Browse tab, file menu.

Actions ​

ActionEffect
Upload new versionAdds a version to a file. The earlier version is kept.
Version historyLists the versions of the file.
RestoreMakes an earlier version current.
Check outLocks the file for you. Others cannot rename, move, delete or replace it.
Check inReleases the lock.
Force unlockAn administrator releases someone else's lock.

Each stored file has a checksum. A file with the same content as one already in the cabinet shows a duplicate warning after upload; it never blocks the upload.

Document locks ​

A document can also be locked. A lock stops editing the document's fields by others. Approval steps are not blocked by a lock, so an approver can approve a locked document. Messages: document is already locked by <user>, document is not locked, document is locked by <user> — use force-unlock to override.

Retention ​

Where to find it ​

Workspace > Documents > Retention. Settings > Retention Policies.

Fields ​

FieldDescription
NamePolicy name.
Retention (days)How long documents of a type with this policy are retained.
On expiryflag (default), archive or legal_hold_required. An unrecognised value is refused: unrecognized actionOnExpiry: <value>.

The list shows Policy, Retention in days and On expiry.

Behaviour ​

  • A policy is attached to a document type. A document's retention applies when its type has a policy.
  • Expiry is computed when a document is read: creation time plus the retention days. No scheduler runs and nothing is stored or deleted. GET /api/v1/documents/{id}/retention-status returns whether retention applies, whether it has expired, when, the action on expiry and the legal hold flag.
  • Legal hold on a document means it is never reported as expired, whatever its age. Set it with PATCH /api/v1/documents/{id}/legal-hold.
  • Retention only reports and flags; it does not delete documents.

Approval ​

Where to find it ​

Workspace > Documents > Approval. Documents tab.

Document lifecycle ​

StatusMeaningNext actions
draftBeing prepared. Fields and attachments are editable.Submit
submittedSent for approval.Start review
reviewUnder review.Approve, Reject
approvedApproved.Archive
rejectedRejected. Editable again.Submit again
archivedArchived.none

Each step is a separate, checked action and refuses other states: cannot <action> a document while it is '<status>'. Fields can be edited only in draft or rejected: cannot edit a document while it is '<status>'; only draft/rejected documents are editable. Each action needs the execute right on the document (see Storage and access).

Approval workflow and notifications ​

When the document type names an Approval Workflow, submitting starts it. If the Workflow engine is unavailable, the failure is logged and the document still moves. Approving or rejecting sends a notification to the owner when the owner id is an e-mail address.

Other document features ​

FeatureDescription
AttachmentsAttach files to a document by file id. Detach removes the link, not the file.
RelationshipsLink two documents with related_to, supersedes, amendment_of or reference. A document cannot relate to itself. Shown on both documents.
Audit trailEvery action is recorded with who and when and shown on the document.
Change ownerPATCH /api/v1/documents/{id}/owner with newOwnerId.
Virtual foldersA saved search over files or documents: Applies to (Files or Documents), Name, Criteria (JSON). They show whatever matches now.

API ​

ActionEndpoint
Create, read, update fieldsPOST /api/v1/documents, GET /api/v1/documents/{id}, PATCH /api/v1/documents/{id}
LifecyclePOST /api/v1/documents/{id}/submit, start-review, approve, reject, archive
LockPOST /api/v1/documents/{id}/lock, unlock, force-unlock
AttachmentsPOST, GET /api/v1/documents/{id}/attachments, DELETE .../attachments/{attachmentId}
RelationshipsPOST, GET /api/v1/documents/{id}/relationships, DELETE .../relationships/{relationshipId}
AuditGET /api/v1/documents/{id}/audit
RetentionGET /api/v1/documents/{id}/retention-status, policies under /api/v1/documents/retention-policies

File manager, Storage and access, Documents, lifecycle and retention.