Builder, Form and Preview applications

The three apps

3B Forms ships three separate browser applications, each hosted on its own Visualforce page.

App Page Who uses it
Builder Builder.page Internal admins and system users who design forms
Form Form.page External or internal users completing and submitting a form
Preview PreviewForm.page Internal reviewers opening a submitted response, read only

Builder

The builder lets an internal user design the definition of a form: the questions, how each maps to a Salesforce field, related object panels, styling, translations and AI options. It saves the definition as a versioned file on the form record.

Parameter Purpose
id The Form__c record id to open in the builder

The builder page loads the configuration the builder needs, including your AI settings when the org is AI configured. Configuration such as the context object and AI mappings are edited inside the app; they are not URL parameters.

The builder exposes a Version History control so a designer can roll a form back to any earlier saved version. See Version control.

Form

The form app renders a published form to a completing user, pre populates it, validates it, and on submit creates or updates the Salesforce records the form is mapped to. It works for both guest (public site) users and authenticated internal users; the running user type is detected server side.

Parameter Maps to Purpose
id Form id Which form to load
key Form Key Secure link resolved server side to form id, record id and version id. Use instead of exposing raw ids
versionId Data Version id Load a specific saved version of the form definition. Omit to load the active version
recordId Context record id The record to pre populate from and, on submit, to update
any other key Field prefill Any additional query parameter is treated as a field prefill value

Prefill parameters are matched case insensitively against a question's name or its mapped field. A URL prefill value takes priority over a value loaded from the record. Both plain query strings and hash style URLs are supported, which allows the form to run embedded in an iframe. See Form pre-population.

The form page loads the configuration the form needs, such as files, captcha, address autocomplete and AI, from your settings. See Settings reference.

Preview

The preview app renders a previously submitted response in read only format, using the exact version of the form definition that response was answered against. This is how a reviewer sees a submission as the submitter saw it.

Parameter Purpose
id The FormResponse__c response id to preview

On the FormResponse__c record there is a Preview Submission link field that opens the preview page for that response in a new tab. The preview resolves the response's stored Data Version id and loads that version. See How previews work and version control.

Shared hosting details

All three pages run without the standard Salesforce header and navigation and route every server call through one packaged entry point. On a public site, the guest user needs access only to that entry point, and only the Form page should be exposed. See Security architecture.