Loading
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
          Create a Custom Lightning Web Component for Omniscript

          Create a Custom Lightning Web Component for Omniscript

          Add custom HTML, JavaScript, and CSS to an Omniscript by creating a custom Lightning web component. The Custom LWC element enables custom components to either interact with the Omniscript or to act as a standalone component. Standalone components do not interact with the Omniscript or the Omniscript's data JSON.

          For information on using the Lightning Web Component framework, see Set Up Lightning Web Components.

          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 the preview. If you deploy changes to a custom Lightning web component that’s present in an active Omniscript, the Omniscript displays the changes.

          To create a custom Lightning web component, review these component types:

          After you create a custom Lightning web component, add it to an Omniscript by using the Custom LWC input element. See Custom LWC Element.

           
          Loading
          Salesforce Help | Article