Skip to content
Flexcards, Omnistudio, Salesforce

Using Datatable in Omniscript and pass data from OS to flexcard

November 9, 2024

This blog will cover how data pass from Omniscript to flexcard datatables.

  • Create omniscript and add fields for getting data from user.
  • In omniscript different action elements are present according to requirement. Here, We will use Dataraptor Extract Action.
  • Add dataraptor from available list and pass input parameters.
  • Data source is our Field names used in omniscript and Filter value is what that we used in our datamapper.
  • Also, I added one additional property i.e. Response Transformations. The reason is that I want my datamapper input to be map into Contacts node on Omniscript Json.


Now we have records in Omniscript Json but we want that it should display into tabular form. For that we will embed flexcard into omniscript and that flexcard would contain datatable. Now challange is how to pass data from Omniscript to embeded flexcard.Lets do this step by step.

  • Create a Flexcard and add Datatable element into it from Build in right panel.
  • Add required fields and pass {records}
  • Activate flexcard and go back to Omniscript.
  • In OS build add Custom Lightning Web Component from Build
  • For passing data from Omniscript to flexcard parent-data  should be true in custom lightning web component properties. For Example: parent-data: true
  • Also, Specify the node from omniscript that you would like to pass into flexcard like records should be %nodename%
  • After doing all these steps, Activate omniscript and preview. Enter the First Name, Last Name and press enter.Matching record will display in datatable which is called from flexcard on Omniscript.

Keep Reading

Related Articles and Resources

Revenue Cloud Advanced for Subscription Businesses: Real Use Cases
January 7, 2026

Revenue Cloud Advanced for Subscription Businesses: Real Use Cases

Picture this: It’s month-end, and your finance team...

A Beginner’s Guide to OmniStudio: Streamlining Your Salesforce Experience (FlexCards)
October 27, 2024

A Beginner’s Guide to OmniStudio: Streamlining Your Salesforce Experience (FlexCards)

What is Omnistudio OmniStudio is a powerful set of...

Salesforce billing vs revenue cloud: What’s the Difference?
September 27, 2025

Salesforce billing vs revenue cloud: What’s the Difference?

In today’s hyper-digital and fast-moving market, companies...

Salesforce Certification Cost in 2025 (In-Depth Guide)
November 7, 2025

Salesforce Certification Cost in 2025 (In-Depth Guide)

It’s Sunday evening. You’re scrolling through LinkedIn,...

Salesforce Developer Interview Questions
October 8, 2025

Salesforce Developer Interview Questions

Preparing for a Salesforce Developer Interview Questions...

Salesforce Revenue Cloud Qualification Rules
September 27, 2025

Salesforce Revenue Cloud Qualification Rules

In this post, we take a look at what Salesforce revenue...