Newer Version Available

This content describes an older version of this product. View Latest

Configure Components for Flow Screens

Make your custom Lightning components available to flow screens in the Cloud Flow Designer by implementing the lightning:availableForFlowScreens interface.

Here’s the sample code for a simple “Hello World” component.

Mark your resources, such as a component, with access="global" to make the resource usable outside of your own org. For example, if you want a component to be usable by a flow admin in another org.

Note

Next, add a design resource to your component bundle. A design resource describes the design-time behavior of a Lightning component—information that visual tools need to allow adding the component to a page or app. It contains attributes that are available for admins to edit in the Cloud Flow Designer.

Adding this resource is similar to adding it for the Lightning App Builder.