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
          Customize Omniscript Behaviors, Style, and Elements

          Customize Omniscript Behaviors, Style, and Elements

          To meet your business needs and improve user experience, you can customize Omniscripts for their style and appearance and for their actions. Apply custom styling via static resources, global stylesheets, or SLDS design tokens. Modify Omniscripts to conditionally hide or show elements and errors and to trigger platform events. For more complex customization, you can extend Omniscript elements to add custom behavior and styling. Finally, you can create custom Lightning web components (LWCs) to add custom HTML, JavaScript, and CSS.

          • Custom Styles for Omniscripts
            Add custom styling to Omniscripts by using static resources, overriding global stylesheets, or using SLDS design tokens. View the behavior of each customization option in this page's table, and choose the solution that meets your requirements.
          • Modify Omniscript UI Behavior
            You modify UI behaviors in an Omniscript to hide or show elements and errors conditionally. You can also trigger Salesforce platform events. When previewing large Omniscripts, you can hide the userProfile node.
          • 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.
          • 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.
          • Omniscript ReadMe Reference
            This page lists the Lightning web components ReadMes available for Omniscripts. Extend Lightning web components to add custom behavior and styling.
           
          Loading
          Salesforce Help | Article