Naming
How Cardinal picks the name of a new Record.
Every Record has a name, its primary key and the last part of its URL. The RecType's autoname decides how a new Record gets it.
autoname | Example name | How |
|---|---|---|
INV-.YYYY.-.#### | INV-2026-0001 | A series. Date parts use the site's time zone, and the counter is kept per prefix |
naming_series: | SO-2026-00042 | The series the Record's naming_series field holds |
field:customer_name | Acme Ltd | The value of that field |
format:{customer}-{####} | Acme-0007 | A pattern of fields and a counter |
prompt | whatever the user types | The user enters the name |
autoincrement | 42 | The next value of a database sequence |
UUID | 0193… | A version 7 UUID |
hash, or none | a1b2c3d4e5 | Ten random characters |
name: Invoice
autoname: INV-.YYYY.-.####Series in the desk
Record Naming Settings (/desk/record-naming-settings) works on any app RecType with a naming_series field.
Pick the RecType. Its series appear one per line, such as INV-.YYYY.-.####. The first line is the default.
Type a series in Try a Series to see the next three names it gives.
To restart a counter, enter the series or its prefix (INV-2026-) in Prefix, set Current Value and click Update Series Number. A lower value can produce a name that already exists.
Record Naming Rules
A Record Naming Rule names Records of one RecType that match a condition. Rules with a higher Priority are tried first.
| Field | Example |
|---|---|
| RecType | Issue |
| Condition | doc.priority == "Urgent" |
| Prefix | URG-.YYYY.- |
| Digits | 5 |
An urgent Issue saved in 2026 gets URG-2026-00001. An empty condition names every Record.
Amendments and renames
An amendment of SO-0001 is named SO-0001-1 unless Record Naming Settings says otherwise. See Record lifecycle.
A RecType with allow_rename lets users rename a Record from the form menu. Renaming to a name that exists fails unless you choose to merge into it.