Loading
Feature Degradation | Agentforce Voice Read More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Activate and Launch Omniscripts

          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.

          1. From the Omniscript designer, activate the Omniscript.
          2. After activating the Omniscript, click How to launch? to view how you can launch the Omniscripts.
          3. 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.

          4. If an error occurs on the initial load of an Omniscript, in the Omniscript, click Deactivate, then click Activate.
          5. 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.
            Note
            Note This feature applies only to the managed package designer on standard runtime.
          6. 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.
          Example
          Example
          <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>
           
          Loading
          Salesforce Help | Article