Skip to content
Datatable, Omnistudio, Salesforce

Pass data from Flexcard to Datatable

November 9, 2024

There are several ways to pass data from a FlexCard to a DataTable. In this blog, I’ll outline the specific steps I’ll be using to achieve this.

  • Parent flexcard having contact data from datamapper.
  • Child flexcard having datatable will display contact details from parent.

Note
By the end of this blog, you’ll also learn how to implement basic search functionality using only OmniStudio FlexCards and DataTables, without any custom code.

     Follow the below steps :

  • Create a parent flexcard and add fields according to your requiremnts. For example, I added FirstName and LastName.
  •  Field binding in FlexCards is used to dynamically display data on the card by binding fields to data from data sources like Salesforce records, REST APIs, or other integrations.
  •  Search Button Actions: For onclick data extraction we will use Action type Data and data source would be Datamapper.See attached screenshot.


  • Make sure that repeat option of parent flexcard should be on.
  • After everything done on parent flexcard, now create child flexcard. While creating child flexcard Is-child should be selected.
  • Add datatable element from buid into flexcard and pass {records}.
  • Add Desired fields into datatable that you wants to display from parent flexcard node.
  • Once everything done Activate Child flexcard.
  • Now go back to Parent flexcard and add element flexcard and pass {record.Contacts}



Note
Data source should be added into both flexcards.

After doing all above steps the output would be as below screenshot

Keep Reading

Related Articles and Resources

Logging HTTP Callouts with Timing, Status, and User Details in Salesforce
July 9, 2025

Logging HTTP Callouts with Timing, Status, and User Details in Salesforce

When building integrations in Salesforce, HTTP callouts...

How to Pass List/Obj to Integration Procedure from FlexCard?
November 10, 2024

How to Pass List/Obj to Integration Procedure from FlexCard?

Passing Input to a Integration Procedure, the syntax is...

Products catalog Salesforce Revenue Cloud Advance
September 27, 2025

Products catalog Salesforce Revenue Cloud Advance

In the following article we’re going to present a Product...

How to Capture Debug Logs for Troubleshooting in Salesforce?
November 18, 2024

How to Capture Debug Logs for Troubleshooting in Salesforce?

Debug Logs in Salesforce are a valuable tool for,...

What are Governor Limits in Salesforce?
October 29, 2025

What are Governor Limits in Salesforce?

If you’ve built on Salesforce for even a day, you’ll hit...

Import & Export Omniscripts in New Designer
September 24, 2025

Import & Export Omniscripts in New Designer

In this guide, we’ll walk through how to import and export...