Add Custom Lightning Web Components to an Omniscript (Managed Package)

For the managed package runtime, after you create a custom Lightning web component for an Omniscript, apply the component’s new behavior by adding it to an Omniscript.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

Use the custom component to override an individual Omniscript element’s component, override all Omniscript element components of one element type, or add an entirely custom component that doesn’t extend an element’s component.

Mapping Option

Description

Override an individual element's LWC.

Override the LWC for every element of a specific element type—for example, override the element Types Text or Currency.

Add custom LWCs that don’t extend an existing Omniscript element using the Custom LWC element.

Note
Note

Before previewing an Omniscript that uses custom Lightning web components, you must activate the Omniscript. If the Omniscript isn’t active, custom Lightning web components don’t render in Preview. If you deploy changes to a custom Lightning web component embedded in an active Omniscript, the Omniscript displays the changes.