Apex Aide apexaide

iFrame Component for Screen Flow

Salesforce Time· ·Intermediate ·Admin ·2 min read
Summary

The article explains how to extend Salesforce Screen Flows by embedding external web content via a custom iFrame component. It solves the common problem that Salesforce doesn't natively support iframe embedding in Flows, especially with dynamic URLs or passing record parameters. By installing this package, admins and developers can easily add an iFrame screen component to display trusted external pages right inside Flows or Lightning record pages. Use cases include embedding social media profiles or external signature collection forms seamlessly in business processes.

Takeaways
  • Install the iFrame package to embed external web pages in Screen Flows.
  • Add trusted iframe URL domains in Salesforce to allow embedding.
  • Configure iframe settings: URL, height, width, and border visibility.
  • Use the component to display dynamic URLs or pass parameters from records.
  • Leverage iframes in Flows for interactive external content like forms or profiles.

An iframe is an HTML element that lets you display one web page inside another. In other words, it gives you a way to embed external web content directly within the current page, without sending the user somewhere else. There are many cases where this can be useful in Salesforce. You might want to display external content inside a Screen Flow, or show it directly on a Lightning page as part of a business process. Salesforce does not provide a standard component for this use case. There are a few workarounds depending on what you are trying to achieve, but they tend to fall short when you need more flexibility. Especially if you want to build the iframe URL dynamically or if you need to pass parameters from a record. In this post, you will find a simple Screen Flow component that lets you display an iframe in Salesforce. How to Use the Component 1- Install the package using the installation links below.

Flow BuilderDeclarative vs ProgrammaticLightning Web ComponentsFlowFlow Screen ComponentsPackages