Standard components: configuration model and security

Standard components: configuration model and security

Version 11 adds a suite of data driven standard components to the page builder. They all share one configuration model, one security model and one way of resolving the context. Read this article first, then the article of the component you want to use.

The components

Block Element What it does Article
Record Data Table x-record-table Configurable record table with search, filters, sorting, paging, inline edit Record data table
Related Record List x-related-list Children of the context record through any relationship Record data table
Record Repeater x-record-repeater Repeats a designed template once per record Record repeater
Dynamic Form / Record Detail x-dynamic-form Form designer against a context object, input or output only Dynamic form
Record Path x-record-path Path style stage tracker over a picklist Record path
Kanban Board x-kanban-board Draggable lanes grouped by a picklist Kanban board
Activity & Task Manager x-activity-manager Tasks and events of the logged in contact Activity and task manager
Calendar x-calendar-view Month, week, day and agenda views over any dated object Calendar
KPI Card x-kpi-card Live aggregate with comparison and thresholds KPI cards and gauges
Progress Gauge x-progress-gauge Progress toward a target KPI cards and gauges
Notifications Centre x-notification-centre Bell or feed of portal notifications, marked as viewed Notifications centre
Knowledge / Help Centre x-knowledge-centre Categories, search, featured and related articles Knowledge centre
Conditional Content x-conditional-content Container rendered only when declarative conditions are met Conditional content
Report List x-report-list Tabular, summary and matrix reports with date ranges, totals and CSV export (12.0.0) Report list
Dashboard x-dashboard Grid container for charts, KPIs and gauges Dashboard

All blocks sit in the Data category of the block palette (Conditional Content is in UX).

Where the configuration lives

Every standard component dropped on a page receives a config-id attribute (for example config-id="cfg_3f9a1c2b7d4e"). The configuration behind that id is stored in a JSON file called component_config.json attached to the Page record, next to the two template files. The file is a Salesforce File, so every save creates a new version and you can inspect or roll back the history from the Page record.

{
    "version": 1,
    "updatedAt": "2026-09-05T10:12:00.000Z",
    "components": {
        "cfg_3f9a1c2b7d4e": {
            "type": "record-table",
            "objectName": "Case",
            "columns": [{ "field": "CaseNumber", "type": "link" }, { "field": "Subject" }, { "field": "Status", "type": "badge" }],
            "filter": "ContactId = :contactUser.Id",
            "orderBy": "CreatedDate DESC",
            "pageSize": 25,
            "rowClick": { "type": "page", "page": "Case Detail" }
        }
    }
}

Only configurations whose id appears in the page HTML are kept when the page is saved, so removing a component also removes its configuration on the next save. Copying a component gives the copy its own id and a copy of the configuration.

A complete sample file is attached to the version 11 release notes.

Configuring a component

  1. Drag the block onto the canvas. The configuration modal opens automatically.
  2. Fill in the settings. Object and field pickers are driven by the org schema, so you never type API names by hand unless you want a relationship path such as Account.Owner.Name.
  3. Click Apply. The canvas re-renders the component with the new configuration.
  4. Reopen the modal any time with the cog icon in the component toolbar or the Configure component button in the properties panel.
  5. Save the page. The template and the configuration file are saved together.

The Dynamic Form opens the form designer instead of the settings modal, the Chart opens the chart designer and the Dashboard opens the dashboard designer. See their articles.

Live preview in the builder

The canvas renders the components with live data while you edit. The unsaved configuration is passed inline to the server, which only accepts it from internal (non guest) users and executes it in user mode, so a builder user never sees more than their own permissions allow. Set the Emulated Contact on the Web Portal to preview user scoped filters such as ContactId = :contactUser.Id as that contact.

The context

Filters and placeholders

Filters are SOQL WHERE fragments authored by the admin. They accept these placeholders, which are bound server side (never concatenated):

Placeholder Resolves to
:contactUser.Id The logged in contact id
:contactUser.<Field> Any field of the logged in contact, for example :contactUser.AccountId or :contactUser.Account.ParentId
:recordId The context record id
:contextRecord.<Field> Any field of the context record

When a filter references the logged in contact and there is no session, the component shows a log in prompt instead of running an unscoped query.

Runtime inputs such as search terms, column filters, sort field and paging are validated against the schema and bound as variables. A visitor can never widen a query beyond the admin configuration.

Actions

Tables, repeaters, kanban cards, calendar events and KPI cards share the same click action model:

Type Behaviour
page Navigate to a portal page, appending the record id as recordId (configurable parameter name)
url Open a URL template; [[Field]] tags are merged from the record
modal Show the record fields in a modal
event Fire a custom DOM event (portalrecordaction by default) for page scripts

Every component also dispatches DOM events page scripts can listen to: portalrecordsloaded, portalrowclick, portalrecordsaved, portalcardmoved, portalstagechange, portalformsaved, portalnotificationviewed, portalarticleopened, portalconditionevaluated.

Security model

Server surface

Apex class (namespace b3p) Purpose
PortalDataComponents Records, related records, aggregates, path data, update, delete, condition evaluation, report catalogue and report data
PortalActivityService Activity & Task Manager
PortalNotificationService Notifications centre, plus PortalNotificationPublisher (invocable)
PortalKnowledgeService Knowledge centre
PortalFormService Dynamic form load, save and file upload
PortalSchemaService Builder only schema describes, record search and rule merging for the Visibility tester

The Portals Admin permission set grants access to all of them and to the new objects. Component data requests use GlobalRemotingRouter. For the complete Site page and Apex access requirements, including the email workflow, see Permission sets and access model.