CollabPortals

Related Tabs and Nested Tables

Show a record's linked records as a tab on its detail page or underneath its fields, and surface any linked table as a page in your portal. Covers related tabs, on-page related records, nested tables, and inline create, edit and delete.

Overview

A lot of data is parent and child: a property has work orders, an order has line items, a project has tasks, a company has deals. CollabPortals shows that child data where it belongs, as a tab on the parent record.

Open a property in your portal and you find a Work Orders tab next to its details, listing only that property's work orders. Open a work order and find its visits and reports. Each tab shows only the records linked to the one you have open.

A table does not need a direct link to your user table to appear in a portal. Any linked table can be surfaced in one of three ways:

  • As a related tab nested inside a parent record (a property's work orders).
  • Under the record's own fields, so the record and its children are read together without switching tabs.
  • As a top-level page in the sidebar, the same as any other table.

A related tab shows the children of the record a user has open. Because it follows the parent's link, the child table needs no link of its own to the user table: it is scoped to the parent automatically. A user only ever sees the work orders under the property they opened.

If the child table's Record Visibility is Only their own records, the tab narrows further, to the linked records that user owns. Set the child table to Everyone (all records) to show every record linked to the one they opened. The field's options panel tells you which of the two you have. See Record Ownership.

The tab uses whatever view you set on the child table's main page. A Work Orders table set up as a kanban board shows as a kanban inside the tab; set up as a calendar, it shows as a calendar. Field and table permissions carry across too, so if a role can edit work orders, it can edit them in the tab.

A related tab is governed by the child table's own permissions, not the parent's. The tab shows a role exactly what it would see on that table's main page: the same view, fields, edit rights and record access. So a role only sees a related tab if it has view access to the child table, and you control that by configuring the child table for that role separately, the same as any other table. If a role's permissions hide the Work Orders table, that role does not get a Work Orders tab, even on a property they can open.

A property's detail page in the portal with Details, Work Orders and Visits tabs, the Work Orders tab showing that property's work orders as a kanban board
The property's detail page, with a Work Orders tab scoped to that property. The tab renders the kanban board the Work Orders table is set up as.

A record can have more than one related tab, and tabs nest. The property above has Work Orders and Visits tabs; open one of those work orders and it has its own Visits and Reports tabs. Each level is scoped to the record you opened.

A work order detail page with Details, Visits and Reports tabs, opened from inside a property
Tabs nest. A work order opened from a property has its own Visits and Reports tabs.

You turn a tab on from the linked record field on the parent table. The child table needs no link to your user table.

  1. 1

    Open the parent table and find the linked field

    In the portal editor, pick the parent table's page (Properties) from the page list on the left and open its Fields tab. Find the linked record field that points at the child table (Work Orders). Linked record fields say Click to see more settings under their name.

    This setting belongs to the page, so if the parent table has more than one page, each can show its linked records differently.

    The Fields tab for the Properties page in the portal admin, with the Work Orders linked record field in the field list
    On the Properties page's Fields tab, find the Work Orders linked record field in the field list.
  2. 2

    Choose how the linked records display

    Click the field's row to open its options panel, then pick a placement under Linked records display:

    • Inline links, the default. The linked records stay among the record's other fields as a list of links.
    • Under details. They show as a table, board or calendar underneath the record's fields.
    • As a tab. They get their own tab beside the record's details.

    Pick As a tab to get the Work Orders tab described above.

    With either of the last two, the list of links leaves the record's fields. To keep it there as well, turn on Also show the inline links.

    The Work Orders field's options panel, with Linked records display set to As a tab, and Also show the inline links and Show search and filter switched off below it
    Set Linked records display for the linked field. Keep the links among the fields too with Also show the inline links.
  3. 3

    Save the portal

    Click Save in the editor's header. Open a property in the portal and the Work Orders tab is there beside Details, listing that property's work orders.

A record can have several related tabs. A company can show Deals, Contacts and Notes as separate tabs, one for each linked field you set to As a tab. A tab appears whenever its field is set to it and the role can reach the child table, so a record with nothing linked yet shows an empty tab rather than no tab.

Sometimes a record has one set of children that is the whole point of opening it, and a tab is one click too many. A conversation and its messages read as a single page: you want the message list under the conversation's own fields, not behind a tab.

Set Linked records display to Under details for that field. The child records show underneath the record's fields, headed by the field's name, in the view the child table is set up with. Everything else works as it does in a tab: the rows are scoped to the record you have open, the child table's permissions apply, and the New button adds a child already linked to the parent.

A Consulting Retainer deal in a CRM portal, its six fields in two rows, Value, Status, Start Date, End Date, Package and Owner, above a Notes section listing that deal's four notes as a table with a New button
The Notes field set to Under details. The deal's own fields, then its notes underneath, with no tab to click.

A record can mix the two. A company can show Deals as a tab and Notes on the page, or put several linked fields on the page one under another, in the order they appear in Airtable.

Both placements also apply on an end user's own profile page, so someone opening their profile sees the records linked to them the same way they would on any other record.

Reach for Under details when the children are the reason you opened the record, and for As a tab when they are one of several sets a user dips into. A page with several long tables under it gets tall, and each table scrolls within its own frame rather than growing without limit.

Search and Filter in the Tab

Turn on Show search and filter in the field's options to put a search box and filters above the linked records, in a tab or under details. The controls themselves come from the child table: on the Display tab of the child table's main page, turn on Filter & Sort Controls and choose the fields to offer. Until you do, the options panel says there is nothing to show yet.

A property's Work Orders tab in the portal with a search box, Status and Priority filters and an Apply button above the work orders board
With Show search and filter on, the tab gets the work orders table's own search and filters.

Create, Edit and Delete in the Tab

A related tab is not read-only. A New button in the tab adds a child record already linked to the parent, so a work order created from a property is attached to that property for you. If a role can only view work orders, the tab is view-only for them. If a field on the form is set to filter by another field and that other field is the one linking back to the parent, the parent counts as filled in, so that picker is ready as soon as the form opens.

Two limits are worth knowing:

  • Creating needs a two-way link. The New button appears only when the link field has an inverse field on the child table, which is Airtable's default. On a one-way link there is nothing to write the parent into, so the tab lists records without offering to add one.
  • Editing and deleting in place need the records to be a table. A gallery, kanban or calendar opens the record's own page instead, though dragging a card in a kanban or calendar still saves the change to the group or date field. An FAQ opens the answer where it is and offers no way through to the record at all, so it is for reading only.

Both apply to related records on the record page exactly as they do in a tab.

Tabs Are Shareable

Each related tab has its own URL. Open the Work Orders tab on a property and the address bar updates, so that exact tab can be bookmarked, reloaded, or sent to a colleague and it opens on the same tab. The active tab also shows in the breadcrumb, so a user always knows where they are in a nested record. Each tab change is a step in the browser's history, so the browser's back button steps back through the tabs you opened. The back arrow at the top of the record skips them and goes back to wherever you were before the record: the list you opened it from, or, for a record opened from another record's tab, that tab.

Surfacing a Table as a Page

Sometimes you want a linked table in the sidebar as its own page, not nested inside a parent. A table that links to your user table can be a page. A table with no direct link to the user table can be a page too.

Pick the table's page in the portal editor, open its Display tab, and in the Sidebar Link card turn on Show as a page in the sidebar. Save, and the table appears in the portal sidebar as a top-level page.

The Sidebar Link card on a page's Display tab, with Show as a page in the sidebar switched on and an icon picker below
Turn on Show as a page in the sidebar to give the table its own page.

A table surfaced as a page with no link to the user table shows every record to every user who can view it. That is the right choice for shared reference tables (a Categories or Statuses list) but not for data that belongs to a specific person. When records belong to a parent, a related tab is the safer choice, since it only ever shows that parent's children. See setting up your Airtable base for how per-user scoping works.

When to Use Each

  • As a tab: the child records belong to a parent and should be read in that context, alongside other sets of children. Work orders under a property, line items under an order, tasks under a project, deals under a company. Scoped automatically, no link to the user table needed.
  • Under details: the child records are the main thing on the record, so they belong under its fields rather than behind a tab. Messages under a conversation, line items under an invoice.
  • Top-level page with a direct user link: each user should see their own records across everything, in one place. A standalone Work Orders page where a contractor sees all their work orders across every property. The table needs its own link to the user table.
  • Top-level page with no user link: a reference table everyone should see in full. Categories, statuses, a shared price list.

Use Cases

Parent and child data shows up across most portal types. It fits maintenance portals (work orders and visits under a property), project management portals (tasks under a project), CRM portals (deals, contacts and notes under a company), and client portals (deliverables under an engagement).

Next Steps