Emberblocks

Search documentation

Search docs pages by title or description

Your apps
Browse documentation

Record block

Data view

The record block displays one record's fields — the centerpiece of a record detail page. Fields sit on a four-unit grid so you control each one's width, any field can be made editable in place, and an action bar sits above the fields.

Try it: Press Edit to turn the fields into inputs, change a value, then Save. Send email runs an action against this record.
Customer
Company
Nordic Supply AB
Status
Active
Owner
Maria Karlsson
Email
orders@nordicsupply.example
Plan
Enterprise
Phone
+46 31 555 0142
Notes
Prefers deliveries before 10:00. Invoices go to the Gothenburg office; the Malmö branch orders separately.
Example. A record block on a Customer record page. Two actions, Edit and Send email, plus an overflow menu sit in the right-aligned action bar; below it the fields sit on the four-unit grid: Company and Email take two units each, Status, Owner, Plan, and Phone one, and Notes spans the full row.

When to use it

  • The detail page a table, card, or list row opens into.
  • Profile-style layouts: wide notes field, half-width contact fields side by side.
  • Quick-edit surfaces — mark the fields that change often as editable.

Settings

SettingWhat it does
LayoutGrid puts each label over its value on a 4-unit grid. List puts one field per row, label on the left and value on the right.
FieldsWhich fields render, in which order (drag to reorder).
Field widthsPer-field width on the record block's 4-unit grid — two 2-unit fields share a row, a 4-unit field spans it. Grid layout only.
GroupsHeadings with an optional description over the fields under them, in either layout. Add a group from the field list and drag fields under it; fields above the first heading render without one. Click a heading to fold its fields away; turn on Start collapsed in the group's editor to have it open folded.
Editable fieldsFields rendered as inline inputs. Edits save automatically after a short pause, gated by the viewer's update permission.
Reference quick-createEditable reference fields offer an “Add …” option that creates a row in the referenced table from the typed text. On by default; disable it per field.
ActionsAction buttons rendered in a bar above the fields.
Actions alignmentWhere the action bar sits. Defaults to right.

Record pages give every block context

On a record page, other data blocks can reference the current record with RECORD[Field] filters — put a record block at the top and a filtered table of related rows below it. See Expressions.

Like every block, this one also has the shared block settings: an optional title (which shows as a heading above the block) with a description under it, auto-height, conditional visibility, and role-based visibility, plus the source table and record-filter settings shared by all data blocks.