0 votes
in Technology by (557k points)
How can you embed a Visualflow in a Visualforce page?

1 Answer

0 votes
by (557k points)

Find the flow’s unique name.

From Setup, enter Flows in the Quick Find box, then select Flows.

Click the name of the flow.

Copy the unique name of the flow.

From Setup, enter Visualforce Pages in the Quick Find box, then select Visualforce Pages.

Define a new Visualforce page, or open an existing one.

Add the <flow:interview> component somewhere between the <apex:page> tags.

Set the name attribute to the unique name of the flow.

For example:

1

2

3

</apex:page>

<flow:interview name="flowuniquename"/>

<apex:page>

Click Save.

Restrict which users can access the Visualforce page.

Click Visualforce Pages.

Click Security next to your Visualforce page.

Move all the appropriate profiles from Available Profiles to Enabled Profiles by using the ‘add’ and ‘remove’ buttons.

Click Save.

Add the Visualforce page to your Force.com app by using a custom button, link, or Visualforce tab.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 11, 2020 in Technology by JackTerrance (557k points)
...