Kinabase Logo
Help & Support

Adding Unique Identifiers

Assign distinct codes to your records


A unique identifier gives every Record

in a Collection a distinct code, such as PR-001 or INV-152, so you can locate, reference and track entries with certainty even when their names look similar.

The Identifiers configuration pane, set to the Abbreviation type

1. Why use unique identifiers

Why use unique identifiers?

  • Avoid confusion when multiple records have similar or identical names.
  • Find records fast - enter or scan a short code (e.g. INV-101) to jump straight to a specific record.
  • Communicate consistently - use the same codes across your organisation, on paper and on screen.
  • Keep an accurate history - a record keeps the same ID even if it's deleted and later restored.
  • Align with existing systems - match your Kinabase IDs to a legacy or external numbering scheme.

2. Choosing an identifier type

1. Open collection configuration

Open the options menu (⋯) in the top-right of the collection screen and select Configure, or right-click the collection name in the sidebar and select Configure.

2. Go to Details

Under Setup, click Details, then find the Identifiers section.

3. Choose a Type

Select None, Number, Abbreviation, or Custom. Each type has its own options, described below.

4. Save

Click Update to confirm. New records from this point on include an ID in the format you chose.

You'll need Configure Permission

for this collection to change identifier settings. If you're unsure, ask your System admin.

Number

Sequential, auto-incrementing IDs.

  • Prefix - a short label for the collection, e.g. PR, IMG, INV.
  • Minimum Digits - how many digits follow the prefix, from 0 to 7 (e.g. 3 digits gives 001, 002, 003).
  • Next ID - the starting number for the next new record, useful when migrating existing IDs.

Abbreviation

An ID built from letters taken from one of the record's own fields.

  • Field - the field to abbreviate, e.g. Name.
  • Characters - how many characters to include: 2, 3 or 4.
  • Include numbers in abbreviations - let digits in the field become part of the code, so Unit 7 with 2 characters gives U7 rather than UN.
  • A live Example shows the format as you configure it, e.g. "CK" is the abbreviation for "Cambridge Kinetics Ltd".

Punctuation is left out and accents become plain capitals. If a code is already in use, Kinabase adds a number, for example NFD, then NFD2. The same letter rules are available in a computed text field with ABBREVIATE - see Computed fields.

Custom

A free-form builder that combines fixed text, an auto-incrementing number, and parts of other fields - for example PROJ-{abbreviation of client name}-0001. A live Example preview updates as you build the format.

Separator sets the character between the parts: Dash (-), Underscore (_) or None. A dash or underscore is kept when the ID names an exported PDF.

Turning an abbreviation or custom ID on or off, or saving a custom format with Increment for all records turned on, asks you to confirm with Change format. Kinabase warns that this cannot be undone, and that previous record IDs cannot be recovered. Changing Prefix or Minimum Digits on a Number ID does not show that warning. You can't turn identifiers off while the ID field is set as the collection's Primary Field. Records that link to this collection show the new ID straight away.


3. Primary and secondary fields

The Primary Field and Secondary Field are separate from the ID, but often shown alongside it. The Primary Field is the field Kinabase uses to identify a record - it's shown as the record's title everywhere in the app. The Secondary Field displays alongside the primary field for extra context, for example a company name next to a contact's name.

1. Open the Fields pane

In collection configuration, under Setup, click Fields.

2. Set the Primary Field

At the top of the pane, select a field from the Primary Field dropdown, then click Update.

3. Set the Secondary Field (optional)

Select a field from the Secondary Field dropdown, then click Update. Leave it unset if you don't need the extra context.

Changing either field also updates the name shown wherever other records link to this collection. See Linked collection fields.

An identifier gives a record a unique code; the primary field gives it a human-readable name. Most collections use both - for example, an Invoices collection might show "Acme Ltd" as the primary field and INV-0142 as its identifier.


4. Identifiers on lists

A Collection List

supports the same identifier types as a top-level collection, so you can assign unique IDs to individual line items.

1. Open the list's configuration

Open the parent collection's configuration and select the list under Lists.

2. Go to Identifiers

Click the Identifiers tab, which appears once the list has been created.

3. Choose a type

Select Number, Abbreviation, or Custom, then set the prefix, minimum digits or other options for the type you chose.

4. Save

Click Update. New list items receive IDs automatically from this point on, and the ID column appears in record tables straight away, including in portal views.

In portals, list item IDs appear in tables but are hidden from add and edit forms, since IDs are generated on the server.


5. Migrating existing IDs

If you're moving from another system and want to keep your existing numbering scheme:

1. Set the prefix

Match your old format, e.g. IMG.

2. Adjust Next ID

Set it to one higher than your last used number, e.g. 153 if your last record was 152.

3. Save your changes

New records continue the numbering without creating duplicates.

Why identifiers might skip numbers

  • Deleted records - every record gets an ID, even one that's later deleted. Once a number is used, it's never reused, avoiding any confusion or duplication.
  • Preserved history - this keeps a consistent audit trail, so if a deleted record is restored, it keeps its original ID. See Deleting and restoring records.

Once a record is created, its ID doesn't change, even if its fields are edited later. Changing the ID format can rewrite existing IDs, as described above. Plan your format carefully if you have existing data or a legacy numbering system to align with.


6. Show the ID in a computed field

A Computed Field

can show the ID Kinabase assigns, or build a label from it - for example a reference such as JOB-0042-LDN. The ID is filled in as soon as a record is created, including records added by CSV Import , so the computed field shows the ID the record will keep.

1. Reference the ID

Open the computed field from Fields under Setup. In Template, type $ and select ID. A Number computed field can also use Numeric ID, the record number without any prefix.

2. Use a computed field in a custom ID

Under Identifiers, set Type to Custom, click Add part and select Field (e.g. Company Name) to include a computed field's value. Click Update to save.

Avoiding a circular loop

A custom ID can't use a computed field that itself depends on the record ID, directly or through other computed fields - the ID would depend on itself. Kinabase names the field that causes the loop in the Formula or Template editor, and won't save the formula or the Identifiers until you change it.

Using Numeric ID is fine, because the number is assigned before the custom ID is built.

When you change the ID format in a way that rewrites existing IDs, computed fields that show the ID are recalculated too, along with any aggregation fields that depend on them.

For more on writing the formula, see Use the record ID.


Configuring unique identifiers keeps large collections organised and makes every record easy to find, reference and track, even as your data grows.


Need more help? Ask your System admin, or contact our support team via Help & Support.