3B Portals 12
Version 12 change log
Version 12.5.0
3B Portals 12.5 adds an optional migration to signed session keys, a page manager and version history in the builder, and a Contact Login As action for support and testing.
Breaking changes
- Enabling Secure Session Keys invalidates legacy sessions and magic links. The new setting is off by default, so installing 12.5 retains legacy session behavior. Before enabling it, confirm that every installed package and custom integration consuming portal sessions supports verification through
b3p.PortalSession. Users with legacy sessions must sign in again, and outstanding legacy invitations must be reissued. See Magic links and session keys.
- Signed sessions always expire and logout revokes them across devices. With Secure Session Keys enabled, Expire Session Keys is ignored. A blank Session Length (Minutes) leaves the Portal Magic Link Validity lifetime in effect, which defaults to 14 days. Logout invalidates the Contact's signed sessions issued up to that time. Magic links that have not been opened follow their own validity.
- Signed magic links must be exchanged through the portal. A signed magic link token cannot be used directly as a session key in API calls, including when One Time Magic Links is off. Update any integration that passes a link token as a session key.
- Guest identity requires a session key. Guest requests are identified only by a valid session key. Update any integration that identifies a guest Contact another way.
Deprecated
- Authorization Named Credential is retained as a deprecated Portal setting. The portal no longer requires a named credential for authorization setup. See Installation and setup.
New
- Page manager and version history. Open the builder from the Web Portal record's Builder tab, search and switch between its pages, create pages and edit their settings. A portal with no pages prompts you to create its first page and makes it the home page. Review an earlier save in the canvas and restore it as a new version, including its standard component configuration. Loading a version alone does not publish it.
- Login As for Contacts. Add the Login As quick action or Portal Login As component to Contact. Select a Web Portal and Site, then copy a magic link or open the portal as that Contact. One Time Magic Links applies to these links.
- Signed-session verification and revocation. With Secure Session Keys enabled, tokens are signed with an org-specific key. Other packages and custom Apex can verify sessions through
b3p.PortalSession. Set Portal sessions revoked at on a Contact to invalidate its existing signed sessions, or use the administrative b3p.PortalSession.revokeAllSessions() method to invalidate all signed sessions and signed magic links.
Enhancements
- The builder's Link field suggests portal pages and inserts
#PageName. External URLs and merge tags can still be typed. Sub templates are excluded from navigation suggestions.
- Verification emails can return visitors to the trusted page where they requested their code, with email and code prefilled. Users still select Verify Code to sign in. The code is removed from the address bar on load, and Source URL is recorded on Registration and Access Code Request Web Events. Existing documentation covers return links and branded-template markers.
Changes
- The builder refuses saves when the combined compressed, base64-encoded editable and compiled template files exceed 3,000,000 characters. Compress embedded images or link to them by URL before retrying. See Publishing pages.
Upgrade notes
- Install 12.5 and confirm compatibility of all session-consuming packages, including 3B Onboarding and 3B WFM. Upgrade dependent packages and migrate custom token-decryption code to
b3p.PortalSession before enabling signed sessions.
- Enable Secure Session Keys on the effective Portal settings records, accounting for Site guest user and profile overrides. Test code login, passkeys, magic links, embedded package components, expiry and logout. Reissue outstanding legacy invitation links.
- Portals Admin includes access to
WebPortalBuilder, Contact.Sessions_Revoked_At__c and Web_Event__c.Source_URL__c. Mirror the required access in custom permission sets and add the revocation field to support layouts. No new guest permissions are required.
- If using a custom Web Portal Lightning record page, add the Builder tab with the
WebPortalBuilder Visualforce page. Add the Contact Login As action or component where needed. Page manager operations respect the running user's object and field permissions.
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tWU000000YE5NYAW
Version 12.4.0
- Fixed Portal Link in the default email template used for verification codes. Removed strong branding in favour for simpler design.
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tWU000000YBttYAG
Version 12.3.0
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tWU000000YBlpYAG
Version 12.2.0
- Disabling Legacy Loaders Front end data loaders can now be switched off with the Disable Legacy Data Loader Portal setting. See Server-side merging.
- Sub-Templates and Names Previously, Sub-templates were identified by ID. Since sub-templates can be ported over to different orgs, ID key is not ideal. We are moving to name-based sub template identification with this release.
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tWU000000YAOLYA4
Version 12.1.0
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tWU000000YAOLYA4
Version 12.0.0
3B Portals 12.0.0 brings detailed reporting into portal pages and gives administrators more control over registration and email-code sign-in. It also refreshes the default light and dark themes and fixes differences between the builder and published pages.
Breaking changes
- Incorrect verification codes now count towards a lockout. After three consecutive failures by default, the Contact is marked Disabled Portal User and the outstanding code is cleared. This also blocks existing session access and passkey sign-in. The limit applies to both normal code login and email verification for passkey enrolment, even when packaged email delivery is off. Review Maximum incorrect code attempts and prepare support staff to reset the counter and disabled flag. See Verification emails and code lockout.
New
- Report List. Add tabular, summary and matrix reports to a portal page. Users can choose date ranges, search, filter columns, sort, expand grouped results and view subtotals and grand totals. Reports load up to 10,000 rows by default, with a configurable maximum of 50,000, and can export the full loaded, filtered result to CSV. Configure contact-scoped filters and visibility rules in the builder. Opening a report requires a connection.
- Packaged verification emails. Enable optional delivery through the packaged Flow, using a verified organization-wide sender and the supplied email template or a branded Classic custom HTML or text template. The email includes a portal button and optional passkey guidance. Delivery is off by default, allowing existing email automation to continue until you choose to replace it.
- Disable self-registration. Select Disable Self Registration on a Web Portal to hide the registration link and reject registration requests for that portal on the server. Existing Contacts can continue to sign in. The setting is off by default.
- Sign-in support fields. Contact records now track the latest code attempt, its status and consecutive incorrect attempts. These fields are available through Portals Admin and support the lockout recovery process. See Object model and Permission sets and access model.
Enhancements
- Report and Record Data Table columns support
dateStyle and timeStyle formatting. Salesforce Time fields display in the viewer's locale without shifting the stored time.
Changes
- Incorrect code submissions leave the current code unchanged until the lockout threshold is reached. Requesting a replacement code does not reset the failure counter; successful verification does. Update any support instructions that previously told users to expect a replacement code after every failed attempt.
- The design system has refreshed light and dark palettes, green signature accents, pastel section colours and additional icon colour tokens. Pages using default tokens adopt the new colours after upgrading; review branded pages in both themes.
Bug fixes
- Published responsive layouts and the AI preview now use the same stylesheet order as the builder, preventing stacked headers, misplaced buttons and other layout differences.
- Registered custom components no longer load as Text with missing settings. The builder waits for block registration and repairs saved text or untyped elements whose tags match a registered component. Open and save affected pages once to retain the repair.
- Browsers without the page decompression capability now show a clear update-browser message instead of a raw
DecompressionStream error. See Installation and setup.
- CSV exports from reports and record tables now escape formula-like text so spreadsheet applications treat it as text. Ordinary negative numbers retain their numeric representation.
- Removed the duplicate page-count increment when creating a Page record. A new page is now counted once.
Upgrade notes
- Packaged verification emails require a verified organization-wide sender, email delivery enabled in Salesforce, and the effective Portal settings configured for the Site guest user. Disable any existing code-email sender when switching to packaged delivery to avoid duplicate emails.
- Add the Contact attempt, status and counter fields to the layouts used by support staff. Restoring a locked-out user requires setting Incorrect code attempts to 0 and clearing Disabled Portal User, then requesting a new code.
- If using custom permission sets, include the new support fields and Web Portal registration setting for administrators, and the
b3p.PortalVerificationEmail Apex class for the packaged email workflow. Guests do not need direct access to Contact credential fields or the verification-email platform event.
- Custom registration integrations should supply the current
pageId. If it is missing, invalid or not associated with a Web Portal, registration is blocked when any Web Portal in the org disables self-registration.
Link
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tWU000000Y9vJYAS