The Record Data Table is the workhorse list component of 3B Portals. The Related Record List is the same table scoped to the children of the context record through a relationship (Cases of a Contact, Applications of a Candidate, Orders of an Account). Everything in this article applies to both unless stated otherwise. See Standard components: configuration model for the shared concepts.
ContactId = :contactUser.Id so each user sees their own records.For a related list, pick the parent object (defaults to Contact, the logged in user), then the relationship. The child object and parent lookup field are filled in automatically.
In scroll mode, wide tables scroll horizontally inside the component, including tables with many columns or long unwrapped values. The component stays within its parent page column. Search and toolbar buttons wrap when space is limited. This applies to both Record Data Table and Related Record List.
| Setting | Key | Notes |
|---|---|---|
| Object | objectName |
Any queryable object |
| Relationship | relationshipName |
Related list only, child relationship of the parent object |
| Parent object | parentObjectName |
Related list only, defaults to Contact |
| Columns | columns[] |
See below |
| Filter | filter |
WHERE fragment with placeholders |
| Default sort | orderBy |
For example CreatedDate DESC |
| Rows per page | pageSize |
Default 25, maximum 2000 |
| Pagination | paginationMode |
pages, infinite (load more / scroll) or none |
| Search | enableSearch, searchFields |
Search runs server side as LIKE over the text columns (or the listed fields) |
| Column filters | enableColumnFilters |
Per column inputs: text contains, picklist select, yes/no, date from, number with >, <, >= |
| Sorting | enableSort |
Server side sort by clicking a header |
| CSV export | enableExport |
Exports the loaded rows |
| Inline editing | allowInlineEdit |
Double click a cell of a column marked editable |
| Row delete | allowDelete |
Adds a Delete row action |
| Small screens | mobileMode |
cards stacks each row as a card under 768px, scroll keeps the table scrollable |
| Density, zebra, card | density, zebra, cardWrapper |
Visual options |
| Row click | rowClick |
Action (page, url, modal, event) |
| Row actions | rowActions[] |
Extra items for the row menu, each with a label, icon and action |
| Row formatting | rowFormats[] |
Rules that add CSS classes to whole rows |
| Key | Notes |
|---|---|
field |
Field API name or relationship path (Account.Name). Lookups automatically display the related record name |
label |
Header label, defaults to the field label |
type |
text (default, by field type), badge, link, image, boolean, progress, template |
template |
For calculated columns: text with [[Field]] and [[fmt.Field]] tags, for example [[FirstName]] [[LastName]] |
escape |
Set to false to render HTML produced by a template |
href, target |
Link columns: URL template with [[Field]] tags. Empty uses the row click page |
src, imageClass |
Image columns |
badgeMap |
{ "Open": "badge-info", "Closed": "badge-success" }. Unmapped values get a stable automatic colour |
format |
Force currency, percent, number, date, datetime, time, relative |
dateStyle, timeStyle |
short, medium, long or full for the corresponding date and time values. |
align, width, hideOnMobile |
Layout |
maxWidth |
Maximum column width, for example 24rem, 320px or 30% |
overflow |
Long text behaviour: nowrap, wrap, or truncate (ellipsis) |
editable |
Allows inline editing when allowInlineEdit is on (top level fields only) |
formats[] |
Conditional formatting rules { operator, value, class } evaluated against the cell value |
Operators for formatting rules: eq, ne, gt, ge, lt, le, contains, notcontains, startswith, in (comma separated), isblank, isnotblank, true, false.
{
"type": "record-table",
"objectName": "Case",
"title": "My cases",
"columns": [
{ "field": "CaseNumber", "type": "link", "label": "Case" },
{ "field": "Subject", "editable": true },
{ "field": "Description", "maxWidth": "24rem", "overflow": "truncate" },
{ "field": "Status", "type": "badge", "badgeMap": { "New": "badge-info", "Closed": "badge-success" } },
{ "field": "Priority", "formats": [{ "operator": "eq", "value": "High", "class": "text-error font-semibold" }] },
{ "field": "Owner.Name", "hideOnMobile": true },
{ "field": "CreatedDate", "format": "relative" }
],
"filter": "ContactId = :contactUser.Id AND IsClosed = false",
"orderBy": "CreatedDate DESC",
"pageSize": 20,
"paginationMode": "infinite",
"enableSearch": true,
"enableColumnFilters": true,
"allowInlineEdit": true,
"rowClick": { "type": "page", "page": "Case Detail" },
"rowActions": [{ "label": "Escalate", "icon": "fa-solid fa-arrow-up", "action": { "type": "event", "eventName": "escalatecase" } }]
}
From 12.0.0, the column formatter accepts dateStyle and timeStyle in saved configuration. The Report List designer exposes these style selectors; the Record Data Table designer retains its existing format controls. Date/Time fields use the viewer's locale and time zone. Date-only and Salesforce Time fields keep their stored date or time without a time-zone shift. Without an explicit style, existing compact date formatting is retained; Time fields use the viewer's short time format.
CSV exports escape formula-like text so spreadsheet applications display it as text. Ordinary negative numbers are preserved. For larger grouped datasets with totals and export across all loaded rows, use Report List.
Double click a cell of an editable column. Picklists render a select, checkboxes a toggle, dates and numbers the matching input. Enter or blur saves, Escape cancels. The server only accepts the fields marked editable in the configuration and only for records returned by the table's own scoped query, so the filter is your security boundary.
recordId, otherwise the logged in contact. Set the Context record id trait to {{record.Id}} when the page is opened for a specific record.Status = 'Open').The component fills the available width of its page section. When its columns need more space, the table header and rows scroll horizontally inside the component instead of widening the portal page. On small screens, the Small screens setting can replace the scrollable table with stacked cards.
portalrecordsloaded, portalrowclick, portalrecordsaved, plus portalaction for custom actions. Example page script:
<script>
document.addEventListener('escalatecase', (e) => alert('Escalate ' + e.detail.record.CaseNumber));
</script>
If the component shows a record count but no table rows, open its settings and confirm that at least one visible column is listed. The count query can succeed without display columns, but the component needs a column to render each row. If configured columns disappear after reopening the builder, deploy the latest PortalBuilder and StandardComponents static resources before configuring and saving the component again.