Flexcard Session Variables Designer Configure Preview Debug Cards Salesforce

A session variable is a special type of variable that allows us to store values from. For example, add or update a data source, create an event listener, or add session variables. Think of it as the control center where you can configure everything from data sources to session variables and permissions.

OmniStudio FlexCards Advanced Concepts Apex Hours

Flexcard Session Variables Designer Configure Preview Debug Cards Salesforce

Specify your flexcard’s behavior with the setup options. Data json shows hierarchy of data and other stateful variables that drive card behavior. Add elements to a flexcard build.

Action debugger shows request and response logs for actions executed from the.

A private variable name for configuring conditions in the flex.varname format, where varname is an. {session.attributename} wherever merge fields are supported in the flexcard.” exposed. With exposed attributes, we can dynamically configure action labels, action visibility, and conditional styling in flexcard. These context variables play a.

— global and local context variables. Here, you’ll find global settings for your flexcard. To provide context to data sources, actions, and other components, add global and local context variables to a flexcard. In reference to the omnistudio documentation, the key lies in utilizing the dynamic event registration based on either {parent.attr} or {session.var}.

OmniStudio FlexCards Advanced Concepts Apex Hours

OmniStudio FlexCards Advanced Concepts Apex Hours

To access the exposed attributes in the flexcard, use the syntax:

To access the “exposed attribute” in your flexcard, call it as a session variable in the format {session.attributename} wherever merge fields are supported in flexcard. To call the attribute as a session variable within the flexcard, use the {session} merge field where supported such as text, a data source's test and input parameters, or a field element's output. A session variable to update such as {session.time}. Context variables can be used in various salesforce features, including process builder, flows, apex code, and lightning components.

OmniStudio FlexCards Advanced Concepts Apex Hours

OmniStudio FlexCards Advanced Concepts Apex Hours

Unidad Explore the FlexCard Designer Salesforce Trailhead

Unidad Explore the FlexCard Designer Salesforce Trailhead