You are here:
Activate and Launch Omniscripts
Make Omniscripts available to Experience Sites, Lightning Pages, custom LWCs, and Lightning tabs by activating and launching the Omniscript. If an error occurs during deployment, the Omniscript is deactivated.
Before you begin, make sure that all components embedded in the Omniscript are also active.
- From the Omniscript designer, activate the Omniscript.
- After activating the Omniscript, click How to launch? to view how you can launch the Omniscripts.
-
After activating your Omniscript, launch your Omniscript from a Lightning page or
Experience page in these ways:
- Launch an Omniscript using the standard Omniscript component.
-
Launch an Omniscript using the Omniscript's generated LWC.
- If an error occurs on the initial load of an Omniscript, in the Omniscript, click Deactivate, then click Activate.
- If there’s an issue with deploying the Omniscript in a Lightning or Experience page, redeploy the Omniscript by clicking Deploy Standard Runtime Compatible LWC.
- To reference your Omniscript on an Aura Experience Cloud site, or on a Lightning page, use the Omniscript wrapper component available from the Salesforce Lightning Component Library. See Component Library for more information. If you’re referencing an Omniscript in a Lightning web component (LWC), you must use a wrapper component that takes in the name of the Omniscript you want to load at runtime, as shown. The type, subtype, and language attributes are mandatory. The Lightning theme is added by default. However, if you'd like to use the Newport theme instead, add the theme attribute as well.
<namespace-omnistudio-standard-runtime-wrapper type={type}
subtype={subtype}
language={language}
theme={theme}
inline={inline}
inlinevariant={inlinevariant}
inlinelabel={inlinelabel}
direction={direction}
record-id={recordId}
prefill={prefill} >
</namespace-omnistudio-standard-runtime-wrapper>
- How to Launch Omniscripts
Make an active Omniscript available for launch in one of three ways: as a standalone Lightning Web Component in a Lightning Web Page or as a URL. - Add Your Omniscript to a Lightning Page
In Omnistudio standard runtime, add the standard Omniscript component to a Lightning page after activation. - Add Your Omniscript to an Experience Cloud Page
In the Omnistudio standard runtime, add the standard Omniscript component to an Experience Builder page after activation.

