---
schema_version: "1"
id: 7dab5a8a8d751fecf335100a1b2b9a53da34179437f6317a47a6fead76015588
title: Include Nested Custom LWCs in Your OmniOut Omniscript (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_include_nested_custom_lwcs_in_your_omniout_omniscript.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_include_nested_custom_lwcs_in_your_omniout_omniscript.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e266f25bbe1eb1760a59124bcf4dd3b8261c5df77225257c77f97ea63e705b85
description: For the managed package runtime, map nested custom Lightning web components in your Omniscript to include them in your OmniOut project. Lightning web components that override or map to an Omniscript element are automatically downloaded with the off-platform Omniscript LWC.
products:
  - Omnistudio
release: "264"
---
# Include Nested Custom LWCs in Your OmniOut Omniscript (Managed Package)

For the managed package runtime, map nested custom Lightning web components in your Omniscript to include them in your OmniOut project. Lightning web components that override or map to an Omniscript element are automatically downloaded with the off-platform Omniscript LWC.

![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).

Nested custom Lightning web components referenced by a custom Lightning web component in the Omniscript aren’t included by default. To include nested custom LWCs, map them to a dummy element in the Element Type To LWC Component Mapping section.

1. From Omniscript **Setup**, scroll to the Element Type To LWC Component Mapping section.
2. In the **Element Type** field, enter a fake element type. For example, nestedElement.
3. In the **Lightning Web Component** field, enter the name of your nested custom Lightning web component. For example, **nestedElement**.
    
    ![Example nested custom Lightning web component that becomes included in the OmniScript download](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/omniout_nested_element.png)
4. Save and Activate your Omniscript.