Embedding 3B Forms in Various Environments
Jump to navigation
Jump to search
3B Forms v4 offers versatile options for embedding forms in different environments, including Visualforce Pages, Salesforce Communities (digital experiences), and external websites. In this article, we'll explore embedding forms using embedded iframes.
Embedded Iframes
Embedding on External Websites
Embedding a 3B Form on a customer's website can be achieved securely using an iframe. This method ensures that the page and communication are facilitated through Salesforce, maintaining enhanced security. Here's an example of how to create an iframe for embedding a form:
src
: Replace this URL with the actual URL of your 3B Form. You can include the form ID and record ID as needed.width
andheight
: Adjust these values to fit your desired dimensions.frameborder
: Set this to "0" to remove the iframe border.scrolling
: Set this to "no" to disable scrolling within the iframe.
<iframe
src="https://your-salesforce-instance.com/b3f__Form?id=xxxxxx&recordId=xxxxxx"
width="100%"
height="600"
frameborder="0"
scrolling="no"
></iframe>
Summary
3B Forms v4 provides flexibility in embedding forms in various environments, including Visualforce Pages, Salesforce Communities, and external websites.