Loading

Integration of Experience Builder Site into any Websites Using iframes Not Supported

Julkaisupäivä: Aug 17, 2023
Kuvaus
It is important to note that Experience Builder site do not support <iframe> integration into customers’ websites. Customers that are looking to bring Experience Cloud site functionality (self-service, peer-to-peer forums, and so forth) can consider cross-linking between their existing website and their Experience Builder site. With support for custom theming, custom domains (URLs), and SSO Authentication (when required); it can be delivered as a seamless user experience without negatively impacting key metrics such as search engine optimization (SEO).
 
Ratkaisu

Three key considerations why Experience Builder site does not support <iframe> integration:
 
  • Security: In general iframing websites can result in cross-site scripting security issues and many modern browsers can even block content.
  • Performance: Experience Builder site leverage a single-page application framework, which is optimized for sequential page impressions that could impact overall performance for the ‘parent’ container.
  • Responsive Design: Out-of-the-box components leverage the Salesforce Lightning Design System, which can cause conflict with custom styling controlled by the ‘parent’ container.
     
If an iframe implementation approach is a strict business requirement then you can opt for a Visualforce site. We first strongly recommend consulting with your implementation partner, or Salesforce Team, to fully understand the short-term and long-term tradeoffs.

Note: It’s important to highlight that both Canvas and Visualforce embedded pages are supported in Experience Builder site. You can learn more about those topics here: Canvas | Use Visualforce in Experience Builder Sites.


Additional Resources:
Choosing Between Experience Builder and Salesforce Tabs + Visualforce Sites
Supported Browsers for Experience Cloud Sites
Single Sign-On
Add a Custom URL
Knowledge-artikkelin numero

000382251

 
Ladataan
Salesforce Help | Article