Sunday, 29 October 2023

How to include a screen flow in a Lightning Web Component

 Hi,

Assume  you have a flow called "Quick Contact Creation" and API Name for the same is "Quick_Contact_Creation".

To include the above flow in your component ,  set the lightning-flow component's flowApiName attribute to the name of the flow that you want to use. The component includes navigation buttons (Back, Next, Pause, and Finish), for users to navigate within the flow.

Eg:

<template>
    <lightning-flow
        flow-api-name='Quick_Contact_Creation'>
    </lightning-flow>
</template>

No comments:

Post a Comment

When to Use Prompt Templates?

 Hi, Understanding when to use Prompt Templates instead of full AI agents helps you design scalable, predictable, and maintainable AI solut...