For the managed package runtime, override an element's component using the element's LWC Component Override. The custom LWC must extend the element's component because Omniscript passes in properties specific to the original component that the custom component is overriding.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
For more information about extending an Omniscript element's Lightning web component, see Extend an Omniscript Element's Lightning Web Component (Managed Package).
-
From the element's properties pane, in the LWC Component
Override field, enter the name of a custom Lightning web component.
For example, enter the name customText.
- Save and Activate the Omniscript.
- To preview the Omniscript, click the Preview tab.