The builder is no longer tied to a single page. It knows which Web Portal the open page belongs to, lists every page of that portal, and lets you move between them, create new ones and change their settings without leaving the builder. It also keeps a version history for each page, so an earlier save can be viewed and restored.
| From | How | What opens |
|---|---|---|
| Web Portal record | The Builder tab on the Web Portal record page | The portal's home page. If no home page is set, the first page by name. If the portal has no pages, a Create your first page prompt. |
| Page record | The Builder tab or the Builder button, as before | That page, with the rest of the portal's pages available in the page manager. |
The Web Portal Builder tab is the WebPortalBuilder Visualforce page. It forwards to the builder with the Web Portal id in the portalId parameter:
/apex/b3p__PortalBuilder?portalId=<webPortalId>
/apex/b3p__PortalBuilder?id=<pageId>
Portals_Admin permission set grants access to WebPortalBuilder. Users who get builder access through a profile or a custom permission set need the page added there under Visualforce Page Access.WebPortalBuilder page and set the height to 1000.When the portal has no pages the builder shows a short form instead of the canvas. Enter a name and an optional title and click Create page. The page is created, linked to the portal, set as the portal's home page and opened in the builder.
The top bar of the builder shows <portal name> / <page name>. Click it, or the pages button in the options panel, to open the page manager.
The list shows up to 2,000 readable pages of the Web Portal with its name, title and these badges:
| Badge | Meaning |
|---|---|
| Current | The page open in the builder. |
| Home | The Web Portal's Home Page (Home_Page__c). |
| 404 | The Web Portal's 404 page (Page_404__c). |
| Guest | Guest User Accessible is checked. |
| Sub template | The page is a reusable sub template. |
Use the search box to filter by name or title.
Click Open on a row. The builder reloads on that page. If the current page has unsaved changes the browser asks for confirmation first, so save before switching.
New page and Edit open the same form:
| Field | Page field |
|---|---|
| Name | Name |
| Title | Title__c |
| Sub template | Sub_Template__c |
| Accessible to guest users | Guest_User_Accessible__c |
| Disable caching | Disable_Caching__c |
| Suppress the push notification prompt | Suppress_Push_Prompt__c |
| Set as home page | Sets the Web Portal Home_Page__c to this page |
Rules applied when saving:
#PageName), so two pages with the same name would break navigation.A page that is not linked to a Web Portal still opens in the builder. The page manager then lists only that page and offers no create or edit actions. Link the page to a Web Portal on the Page record first.
Pages are not deleted from the builder. Delete a page from its record in Salesforce.
The page manager runs as the logged in user. It lists only the pages and portals the user can read, and creating or editing a page needs create or edit access to Page, edit access to the fields above and, for the home page, edit access to Web Portal. Guest users cannot call it.
A link to another portal page is an href of #PageName. Any other value, such as https://example.com, opens as an ordinary URL. The builder fills the page name in for you:
href.href is set to # followed by the page name, for example #Contact.The field still accepts typed values, so external URLs and merge tags work as before.
Every save in the builder adds a new version to the files stored against the Page record. Version history lists those saves and lets you go back to any of them.
Viewing version N from <date>.Restoring never deletes anything. It saves the old content as a new version with the note Restored from version N, so the versions in between stay in the list and a restore can itself be undone.
| File on the Page record | Role | In a restore |
|---|---|---|
Template.b3p |
The editable page | The selected version is loaded. |
component_config.json |
Standard component configuration | The version written by the same save is loaded with it. |
Template_html.b3p |
The compiled page served to portal users | Regenerated from the restored page when you save. |
Page settings (name, title, guest access and the other fields in the page manager) are fields on the Page record and are not versioned.
| Symptom | Cause and fix |
|---|---|
| The Builder tab on the Web Portal shows an insufficient privileges message | The user has no access to the WebPortalBuilder Visualforce page. Assign Portals_Admin or add the page to the user's profile or permission set. |
| The Builder tab is missing on the Web Portal | The org uses a custom Lightning record page. Add the tab as described under Setup after upgrading. |
| "Another page in this portal already uses this name" | Page names are unique per Web Portal, ignoring case. Choose another name. |
| The page manager shows one page and no New page button | The page has no Web Portal. Set the Web Portal lookup on the Page record. |
| Version history is empty | The page has never been saved in the builder. |
| A loaded version shows components with default settings | That version predates the component configuration file, or the save that produced it did not complete. Reconfigure the components, then save. |