Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

GM - Flow Layout

(gmpkg:FlowLayoutComponent)

Documentation

GM - Flow Layout component is used to edit a related object using a layout configuration within a flow. The related object could be at any level. You can configure this component to display sections and define also their visibilities. With this component, you can leverage your existing data model and reduce flow maintenance. The edited record is automatically saved after moving forward in the flow.

Use case: Edit the ultimate account details of a contact flow with different sections and of course more than 2 columns!

Specification

Property
Type
Description

recordId

String

recordId to use. Use it only for community.

SObject Name

String

Object name to load.

Target Object Name

String

Target object name to load.

Record Id Field

String

Record Id field to load.

Record Layout

String

JSON record layout. See GM - Record Layout for the layout schema.

Unlike GM - Record Layout, GM - Flow Layout doesn't expose Record Actions, Show Actions as Buttons, Visible Actions, Show Border or Dynamic UI Refresh. The flow navigation buttons are rendered by the component.

API Reference

<design:component label="GM - Flow Layout">    
    <design:attribute name="recordId" label="recordId" description="recordId to use. Use it only for community"/>        
    <design:attribute name="sObjectName" label="SObject Name" description="Object Name to load"/>    
    <design:attribute name="targetObjName" label="Target Object Name" description="Object Name to load"/>    
    <design:attribute name="recordIdField" label="Record Id Field" description="Record Id Field to load" />
    <design:attribute name="recordLayout" label="Record Layout" description="JSON Record Layout"/>    
</design:component>

Last updated

Was this helpful?