Skip to main content

Document types

A document type is the classification a user picks when uploading a document. It determines the keywords that appear, the security that applies, where the file is stored, how the document is named, and which retention rules can target it. You manage document types under Admin settings → Documents → Document types (open Admin settings by clicking your profile at the bottom-left of the sidebar). The list shows every type with its group, default file format, storage, whether revisions are enabled, and its status. Search and filter by name, group, or status to find a type, then open it to edit.
Document types list under Admin settings, Documents, with search, group and status filters and a New document type button

What’s on a document type

SettingWhat it does
NameHow the document type appears to users and in search. Must be unique.
GroupThe document type group it belongs to.
Default file formatThe file format new documents of this type are expected to use (for example, PDF).
StorageWhere the document’s content is physically stored. Pick from the configured storage locations.
Auto-namingA template that builds each document’s display name automatically — see Auto-naming below.
RevisionsWhether documents of this type keep a full revision history. See Revisions.
ActiveWhether the type is available to users. Inactive types are hidden from upload and indexing but keep their existing documents.

Creating a document type

  1. Open Admin settings → Documents → Document types and choose New document type.
  2. Enter a name and pick a group, default file format, and storage.
  3. Optionally set an auto-naming template and turn on revisions.
  4. Optionally copy settings from an existing document type to reuse its access rights and keyword assignments as a starting point.
  5. Create the type, then assign its keywords from Keyword assignments and its access rights.
Copy from an existing type is the fastest way to stand up a family of similar document types. It copies the chosen access rights and keyword assignments; you can adjust them afterwards.

Auto-naming

Auto-naming gives every document a consistent, readable display name without users having to type one. You write a template that mixes fixed text with tokens — placeholders that are replaced with values from the document when it’s stored.
TokenReplaced with
%NThe document type name
%D2The document date
%D1The date the document was stored
%I1The time the document was stored
%UThe name of the user who stored the document
%#The document’s unique number
%K…A keyword value — see below
A keyword token takes the form %K followed by the keyword type’s five-digit ID and an instance number — for example %K00123.1 is the first value of keyword type 123. You normally insert keyword tokens from the token picker rather than typing them, so you don’t need to know the IDs.
%N - %K00123.1 - %D2
For an Invoice type, that template might produce Invoice - ACME Ltd - 15-07-2024.
  • Use the token picker in the auto-naming field to insert any token, and watch the live preview update as you build the template.
  • Dates and times use your environment’s configured date and time formats.
  • If you leave the template empty, documents fall back to the default name — the document type name followed by the document’s number.
  • Generated names are limited to 255 characters.

Recomputing names on existing documents

Changing a template only affects documents created after the change — unless you recompute. From a document type’s detail screen you can apply the auto-name to existing documents, which rewrites the display name of every current document of that type using the new template.
  • A preview tells you how many documents will be affected before you start.
  • Recompute runs as a background job you can monitor and stop; only names that actually change are rewritten.
Recomputing renames every existing document of the type. Check the affected count in the confirmation step, and run it during a quiet period for large types — it can touch a lot of documents.

Revisions

When revisions are enabled, each change to a document keeps the previous content as a restorable version, so you get a full history of how a document evolved.
Revisions are a one-way switch. Once you enable revisions on a document type and save, you cannot turn them off again — so enable them deliberately.

Activating and deactivating

Use Active / Inactive to control whether a document type is offered to users:
  • Deactivate to retire a type. It disappears from upload and indexing, but its existing documents stay searchable and intact.
  • Reactivate at any time to make it available again.
Deactivating is the safe alternative to deleting — it never touches existing documents.

Document type groups

Document type groups organise related types and make them easier to secure and find. Manage them from the Manage groups action on the Document types screen: create a group, rename it, or delete one that’s no longer needed.
A document type group can only be deleted when no document types still belong to it. Move or delete its types first.

Deleting a document type

Deleting a document type is permanent and requires the Document Structure Administration permission (see Application permissions). To protect your archive, a type cannot be deleted while documents of that type still exist — deactivate it instead if it holds documents. When a delete is blocked, Nobly Insight tells you what’s in the way so you can resolve it.

Keyword assignment models

Add keywords to a document type as standalone fields or as keyword type groups.

Document access rights

Decide what each user group can do with documents of this type.