Collections, records and fields
A Collection is a table you design, such as Characters, Locations or Quests. Each entry in it is a record. A Collection’s fields decide what a record holds, and links connect records to each other. Open Collections in the sidebar to see them all.
Editors and Owners can create Collections, change their fields and edit records. Viewers can read them.
Make a Collection
- Open Collections and select New collection.
- Start From scratch, or choose a template; see Start a Collection from a template.
- Name the Collection and say what a record is called (for example a Collection called People, where A record is called Person). Add a description and an icon if you like, then select Create collection.
Add and edit records
Open a Collection and select New followed by the record’s name, for example New Character. Fill in the fields and save. To change a record later, open it and select Edit, change what you need, and select Save; Cancel drops your changes. The record page also has Duplicate, History, Export and Delete, and tags (see Tag records). History shows earlier versions. A deleted record can be restored from Recently deleted for 30 days.
The Collection’s own page lists its records in a table; see Find, edit and save reports in a Collection.
Fields
On a Collection, select Collection settings. The Fields tab lists the fields. Select Add field, give it a name and choose its Type:
- Text, Text, multi-line and Rich text for words;
- Number, Date, Date and time, Time of day and Duration;
- Single choice and Multiple choice, where you list the Options;
- Checkbox, Web address, Email, Phone and Address;
- File and Image;
- Link to another Collection, Formula, Lookup and Summary, described below.
Each field can be Required, Searchable, and can carry Help text. Use the Reorder and Edit buttons on a row to move or change a field, and the delete button to remove it. Which field names a record in lists, search and links is set under Details, as the Record title field; it must be a Text field or a text formula.
The Layout tab arranges the fields on the record page. On a single record, Add a field to this record adds a field that only that record has.
In the layout editor, Shift-click or drag a box to select several elements. You can then move them together (drag or arrow keys), drag a resize handle to change them all by the same amount, use Align, Distribute and Match (width or height, taken from the last element you clicked), or type X, Y, W and H in the Properties panel. A value that differs between the selected elements shows as Mixed, and a number you type is applied to all of them. Ctrl+A selects everything and Escape clears the selection.
Formulas
A Formula field works out its value from other fields. It starts with = and names fields in square brackets:
="Hello " & [Name]=IF([Level] >= 5, "Veteran", "Rookie")
Functions such as IF, SUM and ROUND are suggested as you type. Choose the Result type (Number, Text, Checkbox (true or false), Date or Date and time); for numbers you can also choose a Format such as Currency, Percent or Rating (0–5), and the decimal places. The Preview shows the result for a Sample record, and says when the formula is valid. A calculated field is marked Calculated. If a field a formula uses is deleted, the formula shows an error until you fix it.
Relationships: links between records
Choose Link to another Collection as the field type, or open the Relationships tab and select New relationship. Pick the Collection it Links to (it can be the same one), and for each side say whether a record links to One or Many records on the other side. Each side gets a field, so a Character’s Locations and a Location’s Characters stay in step. Give the field on the other side a name, such as “Leads”.
On a record, select Add link beside a link field, search or browse the Collection it links to, and choose the record; see Choose a record by browsing. A record also lists Referenced by the records that link to it.
Two more field types read across a link:
- A Lookup shows one field of the single record linked through a Reference field. It needs a link that holds One record.
- A Summary combines a field across every record linked through a Reference field, with an Aggregate: Count of linked records, Sum, Minimum, Maximum, Average or List of values.
Deleting a relationship or field goes to Recently deleted for 30 days, like records.
Record previews
Select a linked record, such as a spell in a class’s list, a link in a note’s body or a link in a Collection’s grid, to see a preview card next to it. The card shows the record’s name, icon, Collection, picture and its summary fields, and you can’t edit anything in it. Select Open to go to the record.
- Follow links: select a link inside the card to replace what it shows, and Back returns, up to five steps.
- Close it: press Esc, select Close preview, or select anywhere else. On a phone the card slides up from the bottom.
- Open directly: hold Ctrl (or Cmd on a Mac) and select the link, or middle-click it, to open the record in a new tab without the card.
- In a grid: double-selecting a link in a cell shows the card and doesn’t start editing. From a cell, press Alt+Enter to reach its first link, Left and Right to move between links, Enter to open the card and Esc to go back to the cell.
Editors and Owners choose which fields a Collection shows: open the Collection’s settings, then Details, then Record preview. Keep Use the first 6 fields, or pick Choose fields, tick up to eight and drag them into order. Select Save preview fields. Map pins and dungeon tokens show the same preview.
Change a field safely
If you change a field’s type or limits and some records hold values that would no longer fit, Lorechive names those records so you can fix them.