A customer timeline
A timeline puts every call, email, meeting and note about a customer in one column on their form, newest first. Filter it by kind, start a new one already filled in, and set it up in the Form Designer from any table that points at the record.

Before calling a customer, you want to know what happened last time. A timeline is a section of a form that lists the records of other tables pointing at the one you have open, newest first. On a client, that's every email, call, meeting and note about them, in one column.
This article uses the mda-customer-timeline sample. Import it into a development environment with Include demonstration data ticked, and open the Clients — Timeline app. Every picture is the real product.
What's in the sample
There is no special activity table. Interaction is an ordinary table with a Subject, a When date, a Kind choice (Email, Phone call, Meeting, Note), an Outcome, Notes, and a Client lookup that points at the client. The timeline is told which field plays which part. Any table that points at another can be shown this way.
Reading the timeline
Open Harbour Logistics. The timeline sits beside the client's details:

Each item shows its kind's icon in its kind's colour, then the kind, the date and the outcome, and the start of its notes. The newest is at the top. Select an item's title to open it as an Interaction record.
Filter by kind
The chips above the list come from the Kind choice, one per option. Select Phone call and only the calls remain:

All brings everything back. While writing this we found that the selected chip was hard to read in dark mode, pale text on a pale fill. It now uses the same highlight as the rest of the product.
Add one from here
New offers one entry per kind:

Choose Meeting. The Interaction form opens with Client already set to Harbour Logistics and Kind already set to Meeting:

Give it a subject and a date and save it. It appears on the timeline in its place by date.
A client with nothing yet
Northfield Bakery has no interactions. The timeline says so plainly, so an empty timeline can't be mistaken for one that failed to load:

Setting it up in the Form Designer
Open Tables → Client → Forms → Client. On the canvas, the timeline is a section that summarises what it reads. Select it, and the Properties panel shows its source:

- Table: which table it lists.
- Points here through: the lookup on that table that points at this one. Only lookups that can point here are offered.
- Date: what the items are ordered by. Any date field works, including Created On.
- Title: what each item is headed with.
- Text (optional): the field whose opening words show under the title.
- Type (optional): a choice field. It gives each item its option's icon and colour, a chip per option, and a New entry per option.
- Status (optional): a field shown beside the date.
To add a timeline to another form, select Add timeline in a row. Add source lists a second table as well, merged with the first by date, such as a ticket's comments and its emails.
A section holds either fields or a timeline, not both.
While writing this we found that the designer said "No table points at this one yet" for this sample, even though Interaction has a lookup to Client. The import created a table's lookups but not the relationships behind them, and the designer lists tables by their relationships. An import now creates a relationship for every lookup, the same way the Table Designer always has.
The timeline in the form's document
A timeline is a section whose fields list is empty and which has a timeline instead. The sample's
client form gives it two of a three-column row:
{
"columns": 3,
"sections": [
{ "title": "Client", "fields": [{ "field": "par_name" }, { "field": "par_email" }, { "field": "par_city" }] },
{
"title": "Timeline",
"icon": "History",
"span": 2,
"fields": [],
"timeline": {
"sources": [
{
"entity": "par_interaction",
"regarding": "par_client",
"date": "par_when",
"title": "par_name",
"body": "par_notes",
"type": "par_kind",
"status": "par_outcome"
}
]
}
}
]
}
Each key is one of the Properties panel's boxes: entity is Table, regarding is Points here
through, and so on. sources is a list because a timeline can merge several tables, which is what
Add source adds to.
Why there is no activity table
Many business systems come with a fixed set of activity tables, Email, Phone call, Task, and a timeline that only knows about them. Parsware deliberately doesn't. The timeline reads any table that points at the record, told which field plays which part. That has three consequences worth knowing:
- You model your own activities. A clinic records appointments and prescriptions; a facilities team records inspections and faults. Each is a table with the fields it needs, and the timeline shows it.
- One table or several, as you prefer. The sample uses one Interaction table with a Kind choice, which keeps everything in one list. A business that keeps calls and site visits in two tables, with different fields, merges them on the timeline with two sources instead.
- Nothing extra to secure. Each source is an ordinary table, so the roles that already decide who reads interactions decide who sees them on the timeline.
Merging two sources
A support ticket is a good example of a timeline with two sources: the comments people add, and the emails that came in. Each is its own table pointing at the ticket, and the timeline weaves them together by date:
"timeline": {
"sources": [
{ "entity": "par_ticketcomment", "regarding": "par_ticket", "date": "created_at_utc",
"title": "par_name", "body": "par_text" },
{ "entity": "par_ticketemail", "regarding": "par_ticket", "date": "par_receivedon",
"title": "par_subject", "body": "par_body", "status": "par_direction" }
]
}
The two sources don't have to have the same fields. Each names its own date, title and text, and the timeline puts them in one order. Created On works as a date, so a table needs no extra field just to appear on a timeline.
The Type field does a lot of work
The optional Type, a choice field, is the setting that turns a list into something people can work with. From the one choice the timeline takes:
- each item's icon and colour, from the option, so emails and calls are told apart at a glance;
- the filter chips above the list, one per option, plus All;
- the New menu, one entry per option, each opening a new record with the type already set.
So the work of designing a good timeline is mostly designing that choice: a short list of kinds, each with an icon and a colour that mean something. Option sets shows how to give options their icons and colours.
Designing the activity table
A few fields make a timeline far more useful, and they are all ordinary fields:
| Field | Type | Why |
|---|---|---|
| Subject | Text, primary | The item's title |
| When | Date and time | What the timeline orders by; not always the same as when it was typed in |
| Kind | Choice with icons and colours | Icons, chips and the New menu |
| Outcome | Choice or short text | Shown beside the date: Left a message, Agreed a trial |
| Notes | Multiline text | The opening words appear under the title |
| Client | Lookup to the record the timeline is on | What makes it appear on that record at all |
A separate When matters more than it looks. A call made on Monday and written up on Wednesday belongs on Monday, and a timeline ordered by Created On would put it in the wrong place.
Where else timelines fit
- A contact or an account, for every interaction, as in this sample.
- A project, merging its tasks, decisions and documents.
- An asset, listing its repairs, inspections and moves between people.
- A case or a ticket, with comments and emails merged, as above.
- A patient or a member, listing visits and bookings.
In each, the question is the one that started this article: what happened last time? The answer used to be scattered over several related tabs; on a timeline it reads down one column.
Who sees what
The timeline reads each table as the person looking at it. Records their role can't read aren't shown, and a table they can't read at all is left out. A timeline never shows somebody a record they couldn't open anyway.
Next: bookings on a calendar.