Flexi Kanban
  • Introduction
    • πŸ“ƒAbout Flexi Kanban
    • βš–οΈFlexi Kanban in Comparison with Other
    • πŸ“˜What are Kanbans?
    • πŸ“•User's Guide to the Kanban Boards
  • Standard Dashboard
    • πŸš€Getting started
      • How to Build a Simple Kanban Using Creation Wizard Abilities
      • Demo Example: Task Dashboard
      • Demo Example: Events Dashboard
      • Demo Example: Opportunities Dashboard
      • Demo Example: Gantt Dashboard
      • Demo Example: Cases Dashboard
    • πŸ“Basics
      • How to Create Standard Dashboard
      • How to Create Child Dashboard
      • How to Incorporate Child Dashboard into Lightning Page
      • How to Open Dashboard in builder (Edit)
      • How to Share Dashboard
      • How to Clone Dashboard
    • πŸ—οΈConfigure Dashboard
      • Working with Dashboard Layout
      • How to Configure Dashboard Basic Properties
      • How to Configure Dashboard Filters
      • How to Add Dashboard Statistics
      • How to Configure Variables
      • How to Configure Events
      • How to add Dashboard Buttons and Menus
    • πŸ™οΈConfigure Column
      • How to Π‘onfigure Column Properties
      • How to Set Column Groups
      • How to Set and Use Column Custom Attributes
      • How to configure Column Data Source
      • How to work with Related Objects
      • How to configure Column Header
      • How to configure Column Body
      • How to configure Column Footer
      • How to configure Column Container and Filters
    • 🎫Configure Card
      • How to configure Card Properties
      • How to configure Card Data Source and Conditions
      • How to configure Card Compact Layout
      • How to configure Card Layout
      • How to configure and use Card Custom Attributes
      • Configuring Card Movement and Column Junctions
      • Configuring Card Actions
    • πŸ“šGroups of Cards
      • How to configure Card Grouping
    • πŸ”§Tools
      • Using Merge Field Picker
      • Using Formula Editor
      • Configuring CSS styles
      • Configuring Rows, Cells, Menus and Buttons
      • Configuring Handlers
    • πŸ‘“Using Dashboard
      • How to use Kanban API actions
      • How to Incorporate Dashboard into Lightning Page
      • How to build the link to the Dashboard
      • How to Work with Variables
      • How to debug Dashboard
      • How to Work with Filters and Orders
    • ✨Howtos and Best Practices
      • How to configure communication between Dashboards
      • How to configure communication between Dashboard and Form
      • How to display different layouts for the same kanban card
      • How to design kanban for your needs
        • How to colorize cards
        • How to add a quick-filter column
      • What inactive column can be used for
      • Tips and Tricks
  • Composite Dashboard
    • πŸ—„οΈIntroduction
      • πŸ”§How to Create a Composite Dashboard
    • πŸͺ›Working with Composite Dashboard Layout
      • Configuring Parent Dashboard
      • Configuring Child Dashboard
    • πŸ–‡οΈConnections Between Dashboards
    • πŸ”¬Examples
      • !! Calendar Dashboard
    • πŸ₯‡Howtos and Best Practices
      • How to Pass Variables Between Parent and Child Dashboards
  • Components
    • πŸ“‹Forms
      • πŸ“‘Basics
        • Form Building Overview
        • Working with Form Settings
        • Working with Source Object fields
        • How to Preview the Form
        • How to configure the Form Sharing Rules
        • Understanding the Form Dependencies
        • Working with Conditional Styles
        • Working with Conditions
        • Search Over the Form
      • πŸͺ›Tools
        • Variables
        • Additional Fields
        • Context Object
        • Form Action
        • Event
      • Components
        • Add and Remove Form Components
        • Components Basic Properties
        • Components Validation Rules
        • Styling Form and Form Components
        • String Field
        • Text Area Field
        • Rich Text Field
        • Lookup Field
        • Date Field
        • Datetime Field
        • Time Field
        • Number Field
        • Currency Field
        • Multi-Select Field
        • Picklist Field
        • Option: Section
        • Option: Static Text
        • Option: Image
        • Option: Blank Space
        • Option: File
        • Option: Custom Button
        • Option: Custom URL
        • Option: Nested Form
        • Option: Lightning Component
        • List. Related Lists.
      • Using Form
        • How to incorporate Form into the Lightning Page
        • How to incorporate Form into Screen Flow
        • How to build the link to the Form
        • (unpublished, empty)How to incorporate Form into the Lightning Component
        • How to run Form Action from Lightning Component
      • Tricks, Hints and Best Practices
        • How to configure communication between Forms
        • How to pre-populate form fields
        • Deployment of Forms
        • What Are Parameters?
    • 🀾Actions/Action Groups
      • Basics
        • Working with Actions
        • Working with Action Groups
        • Working with Functions
        • Working with Context objects
        • Working with Conditions
      • Types
        • Validation Rule Action
        • Define Variable Action
        • Create Record Action
        • Update Records Action
        • Delete Records Action
        • Send Email Action
        • Callout Action
        • Execute Apex Action
        • KanBan API Action
      • Using Actions
        • !!unpublished empty!! How to execute Action/Group from the SF Process/Flow Builder
        • How to execute Action/Group through the REST api
        • !!unpublished empty!! How to execute Action/Group from the Einstain Bot
        • !!unpublished empty !! How to execute Action/Group from APEX
      • Best Practices
        • !! How to use Execute in background option
        • !! Deployment Actions/Action Groups
  • πŸ“–References
    • βš™οΈApplication Settings
    • ♾️Functions
      • SObject
      • Text
      • Logical
      • Numeric
      • Date and Time
      • JSON
      • System
      • Charts
    • πŸ—ƒοΈQuery Conditions
    • Apex Data Provider
    • πŸ“How to add a Kanban to Navigation Items Panel
    • πŸ‘₯Manage Licenses
    • πŸͺͺAssign Permission Sets
    • πŸ“¦Deployment
      • Deploying Using Standard Credentials
      • Deploying Using Connected App Authentication
      • How to configure the Salesforce Connected Application for Flexi Kanban deployment
  • Grant Login Access to Support
  • Subscription Plans
  • Support Agreement
  • Access License Agreement
  • Privacy Policy
Powered by GitBook
On this page
  • Update Nested Form picklist from Parent Form.
  • Nested Form
  • Parent form
  • Manipulate Parent form from Nested
  • Create and work with actions.
  1. Components
  2. Forms
  3. Tricks, Hints and Best Practices

How to configure communication between Forms

Last updated 1 year ago

Forms can be used in combination. You can add the form to another one as a nested form or place 2 forms on the same lightning page.

Forms can communicate with each other by passing parameters or using actions. You can call your form action from any other form.

Update Nested Form picklist from Parent Form.

In example bellow you will be able to refresh values in the picklist on the Nested form when the input picklist value is changed on the Parent form.

Nested Form

  • Create a new form.

  • Add an Input Picklist. Change "Title" and "Name".

  • Check "Dynamic options".

  • Specify value as "{$FormParameters.cities}".

Picklist options will be populated with parameters passed to the Nested form from Parent form.

Parent form

  • Create new form.

  • Add Virtual Input Picklist. Change "Title" and "Name" fields.

  • Add 2 options: "USA", "France".

  • Pass parameter cities.

  • Add "Update Value" Action to update "cities" Variable when "Countries" picklist value is changed.

"value" is the parameter which will be passed to this action from "Countries" picklist "OnChange" Action.

  • Add OnChange Actions to the Countries picklist.

    • Action 1 will be triggered when USA is selected

    • Action 2 will be triggered when France is selected

So when user select one of the countries, onChange action will update cities value and will refresh the nested form passing new options to cities picklist.

Manipulate Parent form from Nested

In example bellow you will be able to refresh values in the list on the Parent form when the input picklist value is changed on the Nested form. This option can also be implemented on 2 different forms which are not connected with each other, i.e. they are not parent-nested but are 2 independent forms on the lightning page.

Create Forms

  • Create Nested Form.

  • Add a Virtual Picklist to it (14).

  • Add some options (15).

  • Create Parent Form.

  • Add the Nested Form (16) you have created to it.

  • Add a List of Accounts (17) to the Form.

  • Add a Variable to define conditions for the List of Accounts.

  • Set variable default value to an empty string ('').

  • Define Condition for the List.

This will filter Accounts based on the value, specified in the "accountSource" Variable.

Create and work with actions.

  • On the Parent Form we need to create an Action which will update Account Source Variable, it will accept accountSource as a Parameter (19):

  • After the Variable is updated we need to refresh Accounts list, so that new value for Condition applied. Create an action for it:

Now we need to add an action to the Nested Form which will call these Parent Form actions we have just added:

  • Select the Type: Form Api.

  • Select Form Action Type: Execute Form Actions.

  • Select the checkbox "All Forms" (20) - it will allow to work with any action on any form.

  • Select the Parent Form we've created.

  • Add Actions. In the Action drop-down we now have all actions from the Parent form.

  • Select "Update Accounts Source" and "Refresh Accounts" Actions.

  • Action "Update Accounts Source" will accept as a Parameter "accountSource" (21):

  • Action "Update Accounts Source" will accept as a Parameter "accountSource" (21):

  • Add an onChange event for the "Account Source" picklist:

  • Event calls the action we have just created passing the selected value:

Now each time when user selects Account source parent form actions will be triggered and list will be updated.

Add "cities" with blank value. It will be passed to the Nested Form. While Country is not selected Cities will be blank.

Add to the Parent form, select the form you created on the previous step.

Add "Refresh" to refresh the Nested Form when "Countries" picklist value is changed.

Create an

πŸ“‹
Variable
Nested Form
Action.
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
Drawing
action