You are here:
Launch an Omniscript from a Flexcard (Managed Package)
For the managed package runtime, launch an Angular or LWC Omniscript from an Omniscript Action element on a Flexcard. For example, launch a form that updates Account information based on the account Id passed from the Flexcard to the Omniscript.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- From the Flexcard Designer, drag an Action element into a state.
- Select Omniscript from the Action Type dropdown. See Flexcards Actions Reference (Managed Package).
-
Click into Omniscript and select the Omniscript to launch.
Tip To include a scrollbar in an Omniscript, create a model flyout in the flexcard that calls the Omniscript. No scrollbar is included when you call the Omniscript in a new page.
- (Optional) From the VisualForce Page dropdown, select a VisualForce page to display the Omniscript. For example, if you have a custom template for your Omniscript, select the custom page you created.
- (Optional) To update the Omniscript's layout, select Lightning or Newport from the Layout Type dropdown.
- In the ContextId (or before Spring '22 Context ID) field, enter the sObject's context Id associated with your Omniscript. For example, if your Omniscript updates account information, your context Id is an account record Id variable from the data source, such as {AccountId}.
-
(Optional) If you selected an LWC Omniscript from the Console Tab
Label field, enter the visible label of the console tab. For example,
Update Account.

-
(Optional) If you selected an LWC Omniscript, from Console Tab
Icon, select an icon to display in the subtab of a console after the
Omniscript Action link is clicked. For example, select
standard:account for an Omniscript that updates account
information.

-
(Optional) To pass contextual data as a key/value pair, click + Add
New next to Input Parameters and perform these
tasks:
-
Enter a variable name in the Key field. Prefix your
variable name with
c__, such as c__name. - Enter the variable value in the Value field.
-
Enter a variable name in the Key field. Prefix your
variable name with
- (Optional) Select whether to open the Omniscript in the current tab or a new tab, select from the Open Target In dropdown.
- (Optional) To configure other options common among all action properties, see Flexcards Action Properties (Managed Package).
What’s next: To style your action element, click Style to open the Style panel, and see Flexcards Action Style Properties (Managed Package).
- Launch an Omniscript from an Omniscript Action on a Flexcard in Lightning Experience (Managed Package)
For the managed package runtime, on a Lightning Experience page, launch an Omniscript from an Omniscript Action on a Flexcard. Launch an LWC or an Angular Omniscript. - Launch an Omniscript from an Omniscript Action on a Flexcard in a Community (Managed Package)
For the managed package runtime, launch an Omniscript from an Omniscript Action on a Flexcard in a Community. Launch an LWC or an Angular Omniscript.

