Query Blocks
Display and interact with lists of records inside any layout
Query blocks let you embed a live list of records from any object type directly inside a layout. Unlike a standalone list view, a query block sits within a page, alongside other blocks, so you can show related records, build dashboards with multiple data sets, or create detail pages that surface connected information.
Every query block runs a query against your data in real time. When records are added, updated, or deleted, the list refreshes automatically.
When to use query blocks
- Detail layouts: use a Subview to show all related child records for the record being viewed.
- Dashboard layouts: use a List Table or Query Item Template to show a curated list of records with filters applied.
- Collection layouts: query blocks power the main record lists in your application views.
Combine a Query Filter with a List Table to build focused views, like "My Open Tasks" or "Invoices Due This Week", without needing a separate object type or layout.