---
schema_version: "1"
id: e83234f3af3fe67423a33614848017c256077aeec0278d2aef1035f3bebab284
title: Requirements for Lightning Web Components Compatibility with Vlocity Lightning Web Components (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_req_lwc_compatible_Vlocity_lwc_vlocity.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_req_lwc_compatible_Vlocity_lwc_vlocity.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f029c2733bda90dc3ea1e0c0ff623e220d659fa9995cd8fae80d6c0ccc06c378
description: For the managed package runtime, to make the custom Lightning web component compatible with Vlocity Lightning web components, you must set two metadata tags in your XML configuration file.
products:
  - Omnistudio
release: "264"
---
# Requirements for Lightning Web Components Compatibility with Vlocity Lightning Web Components (Managed Package)

For the managed package runtime, to make the custom Lightning web component compatible with Vlocity Lightning web components, you must set two metadata tags in your XML configuration file.

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

- `runtimeNamespace`: If [Lightning Web Security (LWS)](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.security_lwsec_intro) is disabled, add the namespace of your Vlocity package to the XML metadata file in your component by using the **runtimeNamespace** metadata tag. Replace the NS variable in the code example with the namespace of your Vlocity package.
    
    ![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_important.png)
    
    Important If LWS is enabled, setting **runtimeNamespace** in your components causes errors similar to "Cannot use runtime namespace 'somename' in module c-someComponentName". To determine if LWS is enabled in your org, see [Enable Lightning Web Security in an Org](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.security_lwsec_enable).
    
    ```
    <runtimeNamespace>NS</runtimenamespace>
    ```
- Custom Lightning web components built outside of the package cannot use any Salesforce Lightning web component that uses resources or affects the component at runtime. For more information, see [Salesforce Modules](https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.reference_salesforce_modules).
- `isExposed` : Set the **isExposed** metadata tag to true.
    
    ```
    <isExposed>True</isExposed>
    ```

Custom Lightning Web Components will not throw errors unless Debug Mode is enabled. For more information, see [Debug Lightning Web Components](https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.debug_intro).