---
schema_version: "1"
id: bb6646ccad46f3c3c9dc0dbbf01831ac785d6a7195478b2191f4e064838fb8c7
title: Customize Omniscript Elements
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_standard_customize_omnscript_elements.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_standard_customize_omnscript_elements.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3faa3b318bb51617420d9c9eb5fcd9df57c32b5344d7c52e51aaaf4bf06356f2
description: 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.
products:
  - Omnistudio
release: "264"
---
# 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.

- **[Customizable and Uncustomizable Omniscript Elements](https://help.salesforce.com/s/articleView?id=xcloud.os_standard_supported_and_unsupported_omniscript_elements_for_customization.htm&release=264.0.0&type=5)**  
    You can extend most, but not all, Omniscript components.
- **[Set Up Your Environment to Customize Omniscript Elements](https://help.salesforce.com/s/articleView?id=xcloud.os_standard_set_up_your_environment_for_customizing_omniscript_elements.htm&release=264.0.0&type=5)**  
    Set up your developer environment by downloading the Omniscript elements that you want to customize and by deploying these elements in a Salesforce org.
- **[Extend an Omniscript Element’s Lightning Web Component](https://help.salesforce.com/s/articleView?id=xcloud.os_standard_extend_an_omniscript_element_s_lightning_web_component.htm&release=264.0.0&type=5)**  
    Add custom behavior and styling to an Omniscript element while maintaining its core functionality. Replace an Omniscript element's Lightning web component with a component that re-creates its properties and adds new ones.