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
          Extend and Override an Omniscript Modal Lightning Web Component (Managed Package)

          Extend and Override an Omniscript Modal Lightning Web Component (Managed Package)

          For the managed package runtime, customize modals in Omniscript by extending and overriding the Modal LWC.

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

          Required Versions

          Available with Vlocity Insurance and Health Spring '20 and CME Fall '20.

          Default Modal

          Default Error Modal

          image
          image
          1. Create a custom LWC that extends the omniscriptModal LWC and add it to your Salesforce org. See Extend an Omniscript Element's Lightning Web Component (Managed Package).
          2. The custom modal LWC must have these three slots for Omniscript to insert content into the modal:
            <slot name="header></slot>
            <slot name="content></slot>
            <slot name="footer"></slot>
          3. In Omniscript Setup , scroll to the Element Type to LWC Component Mapping property.
          4. In the Element Type field, enter Modal.
            image
          5. In the Lightning Web Component field, enter the name of the custom LWC.
          6. Activate and preview the Omniscript to view your modal changes.
           
          Loading
          Salesforce Help | Article