Skip to content

Metadata and content types

Folders answer “where is it”. Metadata answers “what is it”, and it is what makes a repository searchable once it is too large to browse.

Docsentry offers four mechanisms, and they are not interchangeable.

A content type describes a kind of document, and defines the fields that kind carries. An Invoice might have Supplier, Invoice Number, Amount, and Due Date; a Contract might have Counterparty, Effective Date, and Renewal Date.

Assigning a content type to a document is classification, and it determines which metadata fields that document can hold.

Field types available:

Type Holds
Text Free text.
Number A decimal value.
Integer A whole number.
Date A date.
Boolean True or false.
Lookup One value from a defined option list.
MultiSelect Several values from a defined option list.

Values are validated against the field’s type on save, so a Date field cannot end up holding “sometime in March”.

The field list for a Contract content type, showing each field’s type and whether it is required

A content type’s fields are defined once, and every document of that kind then carries them.

Every document has a content type. Documents that have not been classified carry the built-in Unclassified type, which is seeded with the schema. A folder can specify a default content type so that uploads into it are classified without anyone choosing.

Content types are deactivated rather than deleted. Existing documents keep their classification and their field values; the type simply stops being offered for new documents. The same applies to individual fields.

Administrators manage these under Content Types - see Content types and taxonomy.

Tags are free-form labels. A document can carry many, they cross content-type boundaries, and they are the right tool for a cross-cutting concern that does not belong to any one kind of document - urgent, q3-audit, board-pack.

Tags are applied and removed by users with EditMetadata on the document. Administrators can retire a tag, which stops it being offered without stripping it from documents that already have it.

Categories are a controlled vocabulary, defined by administrators rather than created ad hoc. Where tags are for whatever people find useful, categories are for the classification scheme the organisation has actually agreed on and wants to report against.

Like tags, a document can hold several. Like content types, categories are deactivated rather than deleted.

A numbering scheme allocates identifiers - INV-2026-0042, CTR/26/0007. Allocation happens server-side, so two people numbering documents at the same moment cannot receive the same number.

A scheme has a pattern built from tokens:

Token Expands to
{YYYY} Four-digit year.
{YY} Two-digit year.
{MM} Two-digit month.
{SEQ} The allocated sequence value.
{SEQ:0000} The sequence value, zero-padded to the given width.

So INV-{YYYY}-{SEQ:0000} produces INV-2026-0042. The default pattern when none is given is {SEQ:0000}.

If a pattern contains no sequence token at all, the allocated value is appended anyway, padded to four digits - a scheme cannot accidentally produce the same identifier twice.

Administrators define schemes under Numbering - see Numbering schemes.

You want to Use
Define what fields a kind of document has Content type
Record a value specific to one document Metadata field
Label something loosely, across kinds Tag
Classify against an agreed scheme Category
Assign a formal identifier Numbering scheme

All four feed advanced search as facets, which is the practical payoff: “contracts with counterparty X expiring this quarter” is a question the repository can answer only if that information was captured as typed metadata rather than left inside the file.