Activity Forums Salesforce® Discussions How to render Lightning flow through Visualforce page in Salesforce?

  • Yogesh

    Member
    November 28, 2019 at 8:53 am

    Hello,

    If you want your flow to render in Lightning runtime in your Visualforce page, embed the flow Aura component to your Visualforce page.
    1. Create a Lightning app that declares a dependency on the lightning:flow component.
    2. Add the Lightning Components for Visualforce JavaScript library to your Visualforce page using the <apex:includeLightning/> component.
    3. In the Visualforce page, reference the dependency app.
    4. Write a JavaScript function that creates the component on the page using $Lightning.createComponent().

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos