For the managed package runtime, view your Flexcard's data JSON from the Preview tab of the Flexcard Designer. Look for potential issues in how your data source populates elements before publishing your Flexcard or sending data to another component. The Data JSON panel updates when you interact with the Flexcard, such as when entering data in an input field or clicking an action.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
If your Flexcard has a child Flexcard, only its name appears in the Data JSON panel.
|
Required Versions |
|---|
|
Available beginning Summer '21. |
- In the Flexcard Designer, click Preview.
- In the Data JSON tab, view data applicable your Flexcard visible in the Preview. Click the arrow next to any object node to see its child nodes.
- To confirm the records return as expected, click the records object in the dataSource object.
-
To confirm that the Data JSON updates when you interact with the Flexcard:
-
On the canvas, click an action that updates the data.
-
In Data JSON, click a rendered card object in the cards object to see the updated data.
-
If an action updates the data source, click an object in the or records object to view updates.
-
- To view the state of the rendered card, see StateName under each cards object.
- To view session variables created in the Setup Panel, click the Session object. See Add Session Variables to a Flexcard (Managed Package).