Screen Flow in iFrame

From 3B Knowledge
Revision as of 20:12, 11 April 2024 by Admin (talk | contribs) (Created page with "== Intro == In scenarios, where a screen flow needs to be embedded in a Document Pack, admins can resort to using the b3p__FlowEmbeddedComponent Visualforce page as delivered by the 3B Portals & Mobile Apps application. This will allow admins to define a page to be embedded as an External Link in a Document Pack and thus allow end users to interact with Screen Flows. == How To == Follow the instructions below in order to allow a screen flow to run in a Visualforce page...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Intro

In scenarios, where a screen flow needs to be embedded in a Document Pack, admins can resort to using the b3p__FlowEmbeddedComponent Visualforce page as delivered by the 3B Portals & Mobile Apps application. This will allow admins to define a page to be embedded as an External Link in a Document Pack and thus allow end users to interact with Screen Flows.

How To

Follow the instructions below in order to allow a screen flow to run in a Visualforce page

  1. Grant access to the page "b3p__FlowEmbeddedComponent" in the Public Site Guest User
  2. Pass recordId parameter (any recordId, optional)
  3. Pass flowName parameter (the API name of the screen flow)
  4. The end result should look something like this: /apex/b3p__FlowEmbeddedComponent?recordId=003....&flowName=My_Screen_Flow_Name

Usage

The resulting Visualforce page can be used in iFrames outside of salesforce, in Document Packs (as External Link document) and within Digital Communities.

Important

In order for screen flows to be available to guest users, please make sure to follow the instructions in the article Embeddable Screen Flow in the section Security & Access.