---
schema_version: "1"
id: 533fb9ca938b79b209f13c763cafd6a159e35564e7a053d74a3eb7c175107592
title: Override an Element's Lightning Web Component (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_override_an_element_s_lightning_web_component.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_override_an_element_s_lightning_web_component.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cd49eec5679dbce259ea069ad5f692e190b377f8e9f497263d01c92c4b24ba0f
description: For the managed package runtime, override an element's component using the element's LWC Component Override. The custom LWC must extend the element's component because Omniscript passes in properties specific to the original component that the custom component is overriding.
products:
  - Omnistudio
release: "264"
---
# Override an Element's Lightning Web Component (Managed Package)

For the managed package runtime, override an element's component using the element's LWC Component Override. The custom LWC must extend the element's component because Omniscript passes in properties specific to the original component that the custom component is overriding.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

For more information about extending an Omniscript element's Lightning web component, see [Extend an Omniscript Element's Lightning Web Component (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_extend_an_omniscript_element_s_lightning_web_component.htm&release=264.0.0&type=5 "For the managed package runtime, 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.").

1. From the element's properties pane, in the **LWC Component Override** field, enter the name of a custom Lightning web component.
    
    For example, enter the name **customText**.
2. Save and Activate the Omniscript.
3. To preview the Omniscript, click the **Preview** tab.