---
schema_version: "1"
id: 08eebc7a2e71c2acf37e7d47e45ba0b3d56cce2514bd1ef69d590403d0c9081e
title: Create an LWC 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_create_an_lwc_omniscript.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_create_an_lwc_omniscript.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5964a6631834d6a7072fd07e90e71f6c888f7da888f8cd9783d964cd77d257be
description: For the managed package runtime, create an LWC Omniscript to use custom Lightning web components and functionality exclusive to LWC Omniscripts.
products:
  - Omnistudio
release: "264"
---
# Create an LWC Omniscript (Managed Package)

For the managed package runtime, create an LWC Omniscript to use custom Lightning web components and functionality exclusive to LWC Omniscripts.

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

It’s possible to switch an Omniscript to either an LWC Omniscript or an Angular Omniscript at any time. However, Angular Omniscripts and LWC Omniscripts don’t support the same elements and functionalities.

1. From the Omniscript's Script Configuration, add a Type, Subtype, and Language.
    
    In the Vlocity Insurance and Health Summer '19-Winter '20 and Vlocity CME Fall '19-Winter '20 releases, the Omniscript's type must begin with a lowercase letter. You can’t use case-sensitivity to define a type's unique name if another Omniscript with the same type exists. For example, if you have an Angular Omniscript with an existing type named Test, you can’t create an LWC Omniscript with a type named test.The type limitation occurs because Type is stored in a Salesforce picklist, and Salesforce picklists store values without case sensitivity.
    
    ![Note](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_note.png)
    
    Note
    
    The combined Type, SubType, and Language mustn't exceed 60 characters.
2. Select **Enable LWC**.
3. Save the Omniscript by clicking **Save**.
4. Drag supported elements into the structure panel. LWC compatible elements display a Lightning icon in the Available Components panel of an Omniscript.
5. Click the LWC Preview tab to deploy the Lightning web component.
6. (Optional) Create custom Lightning web components for Omniscript.