Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead 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
          Customize Omniscript Elements

          Customize Omniscript Elements

          Add custom behavior and styling to an Omniscript element by extending the functionality of an Omniscript element. By extending the Omniscript component, you modify its properties and add new properties. Then, replace or override the Omniscript element's Lightning web component with the customized component in the designer to use the customized component at run time.

          Download the extendable Omniscript components from Salesforce, customize them, and deploy them to your org. After deployment, you can override an element with the custom component in the Omniscript.

          Extend and Override an Omniscript Element’s Lightning Web Component

          A Lightning web component provides the HTML, JavaScript, XML, and CSS files for an Omniscript element. Modify these files to add custom behavior and styling to a Lightning web component. For example, a Text element has a custom component named omniscriptText. Customize the Omniscript element's functionality and styling by extending the custom component. Then, override the Omniscript’s element with the custom Lightning web component in the Omniscript designer.

          The custom Lightning web component must extend the element's property because Omniscript passes in properties specific to the original element that the custom element is overriding.

          To override individual elements in an Omniscript, add the custom component by using LWC Component Override in the element property.

          To override all Omniscript elements of a type, map the element to the custom component in Setup. Use mapping for the Step Chart, Save for Later Acknowledge, and Modal elements.

           
          Loading
          Salesforce Help | Article