3B Portals 11
Version 11 change log
Version 11.2.0
3B Portals 11.2.0 adds optional passkey sign-in for Contact users. Users can sign in with their device PIN, fingerprint, face recognition or a compatible security key. Email-code login remains available, and passkeys are off by default.
New
- Passkey login. Enable passkeys with Enable Passkeys and Passkey Origin in the Portal hierarchy custom setting. Supported browsers show Sign in with a passkey at the exact configured HTTPS origin. Salesforce verifies the credential and issues a portal session subject to the existing expiry settings and session length cap.
- Email-verified enrolment. After verifying an email code during login or registration, users can add a passkey or continue without one. Existing sessions and magic links alone cannot authorise enrolment. Up to ten active credentials are supported per Contact.
- Credential management. Add an
@passkeys link to a signed-in page so users can list and remove their active credentials for that origin. Removal blocks future sign-in with that credential; it does not end existing sessions or remove the credential from the device.
- Passkey records and audit events. New private Portal Passkey and Passkey Challenge objects store public credentials and expiring challenge hashes. Web Events record Passkey Registered, Passkey Login and Passkey Revoked. Direct Site guest access to these objects is not required. See Object model and Permission sets and access model.
Changes
- Passkey requests always require a network connection and bypass response caches, portal data caches and offline queues, including with Cache First or Cache Only selected. The updated service worker honours a network-only route for these requests. See Offline support and caching and Component caching and offline API.
Setup
No configuration change is required to keep using email-code or magic-link login. To adopt passkeys, set the exact lowercase HTTPS origin without a path, query, port or trailing slash on the effective settings record for the Site guest user, then enable the feature. Refresh the portal so the updated service worker is active. Test enrolment, sign-in, cancellation and recovery at the real hostname before rollout. Credentials are scoped to that origin; changing the hostname can require new enrolment. Follow the Passkey login guide.
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ5000000LUtgIAG
Version 11.1
3B Portals 11.1 adds configurable offline support, installation guidance and more control over portal sessions and notification prompts. It also introduces one-time sign-in codes for terminal integrations and reduces the requests needed to load a portal.
Breaking changes
- Enable the new service worker page on every Site. Push notifications now use
PortalServiceWorker on the Site domain. After upgrading, go to Setup > Sites, open each Site that serves a portal, edit Site Visualforce Pages, and add PortalServiceWorker to the enabled pages. This is required for guest and community push notifications even when offline support is off, and is also required for offline caching. The page access included in Portals Guest does not replace this Site configuration.
New
- Offline support and caching. Each Web Portal now has a Caching Strategy: Network Only, Network First, Stale While Revalidate, Cache First or Cache Only. Network Only is the default and leaves offline support off. Other strategies let guest and community users access cached pages and data on the Site domain. Cache Max Age Minutes controls cache freshness and the page template cache window, with a default of 120 minutes. Pages with Disable Caching selected remain excluded from the template cache.
- Queued offline changes. Supported record, task and notification changes from standard components can be queued on the device and replayed when connectivity returns. The queue retains changes for up to 24 hours; replay depends on browser support and a valid session. File uploads still require a connection. Users receive connection and queue status messages, and uncached pages show an offline message with a Retry button.
- App installation prompts. Select Enable Installation Prompts on a Web Portal to show installation guidance after the first successful page load. Supported browsers offer an Install button; iPhone and iPad visitors receive guidance for adding the portal through Safari. Guidance is remembered per portal in browser storage and is hidden when running as an installed app. The setting is off by default, including after an upgrade.
- Session length limits. Set
Session_Length_Minutes__c in the Portal custom setting to cap the duration of a portal session and automatically log the user out when it expires. Reloading does not extend the session. A positive limit enforces expiry even when Expire Session Keys is unchecked; leave it blank to apply no session length cap. The original magic link retains its own validity window and can start another session while valid.
- One-time terminal sign-in codes. Trusted Apex integrations can call
b3p.PortalLoginCode.issue(contactId, ttlSeconds) to create a single-use code for a portal URL using loginCode. Codes default to 120 seconds of validity and are capped at 600 seconds. The portal exchanges a valid code for a session and removes it from the address bar. Invalid, expired or previously used codes return the visitor to normal sign-in. This provides the Portals support needed for a WFM Terminal handoff without placing a long-lived session key in the QR URL.
- Page-level notification prompt control. Select Suppress Push Prompt on a Page to prevent the notification permission prompt while that page is displayed.
Enhancements
- The 3B Get Magic Link Flow action accepts an optional Validity Minutes input and returns Expires At. Leaving validity blank uses the existing Portal Magic Link Validity setting; zero and negative values are rejected. Token expiry remains subject to the portal's expiry settings.
- Portal startup combines the user, custom blocks and page list into one request, reuses the returned pages and avoids repeated background page prefetching. File retrieval also combines metadata and content into one request for files up to 3 MB; larger files use the existing download path.
- The Dynamic Form runtime and designer use “form” wording in their English interface. Form styles no longer load their own web fonts, allowing forms to inherit portal typography.
Changes
- Safari and other iOS browsers show notification permission guidance only when the portal is running as an installed app. Installation and notification dialogs are coordinated so they do not appear together.
- With offline support enabled, guest and community data calls use the Site's REST route so they can be cached or queued. Internal Salesforce previews remain online. Logout clears the device's offline caches.
- Dynamic Forms defer their post-save redirect when a save is queued offline, because the saved record is not yet available on the server.
Custom component integrations can opt in through the Component caching and offline API.
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ5000000LUtRIAW
Version 11.0
Standard components suite
Fourteen new data driven blocks are available in the page builder, all configured through schema driven modals and stored in a versioned component_config.json file on the Page record. Queries and writes run in Apex; the browser never sends SOQL. Start with Standard components: configuration model and security.
- Record data table and related record list: columns with badges, links, images, calculated templates and conditional formatting, server side search, column filters, sorting, paging or infinite scroll, inline editing, row actions, row click navigation, CSV export and responsive card rendering.
- Record repeater: design an item once on the canvas and repeat it per record with
[[Field]] merge tags, formatted values and iteration helpers.
- Dynamic form, record detail and record create: a form designer against a context object; input mode edits or creates records, output mode renders record details; immediate file uploads. Backed by the new SurveyJS and SurveyCreator static resources.
- Record path: path style stage tracker with labels, descriptions, icons, colours and optional progression.
- Kanban board: draggable lanes grouped by a picklist, updating Salesforce on move.
- Activity and task manager: tasks and events of the logged in contact on the new Portal Task object.
- Calendar: month, week, day and agenda views over any dated object, with drag to reschedule.
- KPI cards and gauges: live aggregates with period comparison and thresholds; progress toward a target as bars, radial gauges or steps.
- Notifications centre: bell or feed over the new Portal Notification object (master detail to Contact), marked as viewed, with a Publish Portal Notification flow action.
- Knowledge centre: categories, search, featured, recent, article detail and related articles on the new Knowledge Category and Knowledge Article objects.
- Conditional content: a container rendered only when declarative conditions on the contact, record, session, URL, device or date are met.
- Dashboard and chart designer: a grid container with sized widgets for charts, KPIs, gauges and tables, and a chart designer with guided query builder, test query and live preview.
Objects and permissions
New objects: Portal_Task__c, Portal_Notification__c, Knowledge_Category__c, Knowledge_Article__c (see Object model). New tabs for all four in the 3B Digital Experiences Studio app. The Portals Admin permission set now covers the new objects, fields, tabs and Apex classes. Guest access is unchanged (Portal page and GlobalRemotingRouter only).
Apex
The builder's Visibility tester gained record search and expression merging. New Apex classes back the data driven components, plus the PortalNotificationPublisher invocable action. For the classes to include in custom permission sets, see Standard components: configuration model and security.
Breaking changes: design system
The third party component library has been removed from every app. Pages, the builder canvas, the AI preview and every standard component now use the 3B design system: Tailwind CSS plus a compiled Tailwind/designSystem.css stylesheet with --ui-* colour tokens, light and dark themes and a component vocabulary (btn, badge, card, field, input, table, modal, tabs, stats, chat). See Styling and branding for the tokens, the vocabulary and how to brand a portal by overriding tokens.
What existing pages need to know:
- Semantic colour names of the previous library (
primary, secondary, base-100, base-200, base-300, base-content, error, success, warning, info) keep working and now resolve to the design tokens.
- Common component names (
btn-*, badge-*, alert-*, card, stat, table, modal, menu, tabs, hero, navbar, collapse, steps, join, indicator, loading, form-control, label) keep working through aliases.
- Components that only existed in the previous library (
mockup-window, timeline, drawer, swap, diff, stack, mask, rating, countdown, kbd) are no longer styled and should be rebuilt with utilities.
- The
theme-type trait of standard components offers light and dark only; legacy theme names (emerald, lemonade, cmyk, black, pastel, wireframe, retro) fall back to light.
- The
Tailwind static resource no longer ships daisyui.css; a custom Visualforce page that linked it must link designSystem.css instead.
Sub-template manager
The Sub Template block has a new manager that follows the standard component modals: a searchable list of sub template pages, an insertion mode with an explanation, a link to open the selected sub template in the builder, and a labelled placeholder card on the canvas for dynamic templates. Existing sub templates can be reconfigured from the toolbar cog (switch page or mode) and support the Hide If and Visibility traits. See Web portals and pages.
Bug fixes
- The form designer of the Dynamic Form loaded without its stylesheet; stylesheets loaded by url are now proper link elements.
- Charts in the chart designer preview and on the canvas keep their configured height instead of overflowing with the aspect ratio of the chart type.
Builder
- Visibility modal: conditional display moved from the Hide If and Visibility traits to an eye button on the component toolbar. The modal offers the login state presets, the JavaScript rule, a clickable merge variable reference (global
contactUser.*, recordId, page.*, portal.* plus the fields of a chosen object) and a tester that merges the rule against a selected record and reports valid / shown / hidden. See Conditional display.
- Component configuration plugin: config id assignment, configuration modals, toolbar cog, live canvas previews (user mode), clone handling and saving of
component_config.json with the page.
- Chart designer replacing manual trait editing for charts; existing chart attributes are preserved.
- Dashboard designer.
- Managed blocks are now recognised again when a saved page is reloaded, so their traits and toolbar come back.
- Custom Code block rewritten: it now inserts the pasted HTML directly into the page (no wrapper, no editing modal on double click). This fixes the block duplicating itself in the builder when edited or moved. Pages built with the previous block keep working; their wrapper element stays as a plain container. See The page builder.
AI Studio
The AI page builder has been rebuilt as a production AI Studio. See The AI page builder.
- Plans page operations (replace, insert or remove top level sections) and applies them to the canvas. The periodic auto suggestions are gone.
- Knows the platform: merge tag namespaces and the runtime
contactUser fields, repeat sections and directives, conditional display, page links, and the full configuration schema of every standard component. Generated sections include their component_config.json entries.
- Reads the org schema per request, so every stage uses real API names.
- Edits existing pages: select an element and describe the change; the rest of the section is preserved. Whole page replacements are flagged before applying.
- New chat first studio: conversation with per stage progress on the left, a desktop or mobile preview of the page with the proposed changes on the right, refine before applying.
- All AI calls now go through the 3B AI service (as in 3B Forms). New
AI_Endpoint__c Portal setting (default https://ai.3bapi.com/ai) and a shipped Trusted URL for https://ai.3bapi.com. The builder no longer bundles vendor SDKs.
- OpenAI reasoning models (GPT 5 family, o series) are supported. Requests failing with a 4xx are no longer retried.
- Portal Block Description is now read by the builder so custom blocks are described to the AI.
Samples
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tJ5000000LUsdIAG