---
schema_version: "1"
id: 7110a965ed37003d96c6228228eb64ca13f90747095407c03e09b9381e4fc1b3
title: Requirements for Extending OmniScriptBaseMixin (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_extend_omniscriptbasemixin_vlocity.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_req_extend_omniscriptbasemixin_vlocity.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: aa930ff3599fd60ee2088a6465773a8b76860f76f2c7eeb3fdbf021799e1d93f
description: For the managed package runtime, review and complete the requirements before you extend the OmniScriptBaseMixin component.
products:
  - Omnistudio
release: "264"
---
# Requirements for Extending OmniScriptBaseMixin (Managed Package)

For the managed package runtime, review and complete the requirements before you extend the OmniScriptBaseMixin component.

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

- Custom Lightning web components extending the **OmniScriptBaseMixin component** cannot also extend or override an Omniscript element Lightning web component.
- Custom Lightning web components extending the OmniScriptBaseMixin must use the **Custom LWC element** in Omniscript.
- 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).
- To make the custom Lightning web component compatible with Vlocity Lightning web components, you must set two metadata tags in your XML configuration file:
    - `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 namespace placeholder in the code example with the namespace of your Vlocity package. For more information on finding the namespace of your package.
        
        ```
        <runtimeNamespace>namespace</runtimenamespace>
        ```
        
        ![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).
    - `isExposed` : Set the **isExposed** metadata tag to true.
        
        ```
        <isExposed>True</isExposed>
        ```
- View all of the component's properties, attributes, and methods in the ReadMe.