For the managed package runtime, set attributes available from a component, or store values from data sources or external systems to access globally on a Flexcard. For example, set an API key or track pagination. Use the merge field {Session.var} to parse the value.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
This table lists the elements that support Session Variables:
|
Element |
Supported Input Fields |
|---|---|
|
Label |
|
|
Beginning Summer '21: Input Parameter > Value |
|
|
Label, Placeholder, and Output |
|
|
Inside the rich text editor |
- In the Flexcard Designer, click Setup to open the Setup panel.
- Click + Add New next to Session Variables.
- Enter a Key, such as APIkey.
-
Enter a Value, such as
123456dk489384A1sdjsk.
Important
You can’t use datasource values as session variables.
- Apply the session variable as a merge field to an element field. For example, enter {Session.APIkey} to a REST data source Endpoint URL.