---
schema_version: "1"
id: 091dae4bb3807a51352c8835257295a022cdf811b313d80591f3df209b40e7ff
title: Launching an LWC Omniscript from a Layout Action (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_launching_an_lwc_omniscript_from_a_layout_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_launching_an_lwc_omniscript_from_a_layout_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c7a672eca7d562aa4b3378474d139b7edf0dbc01a7705befdcd06b20c484d4ec
description: "For the managed package runtime, to launch the LWC Omniscript from a layout action:"
products:
  - Omnistudio
release: "264"
---
# Launching an LWC Omniscript from a Layout Action (Managed Package)

For the managed package runtime, to launch the LWC Omniscript from a layout action:

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

1. From **Setup**, enter Object Manager into the **Quick Find** search.
2. Select an Object, and click **Buttons, Links, and Actions**.
3. Click **New Button or Link**.
4. Set **Display Type** to **Detail Page Button**.
5. Set **Content Source** to **URL**.
6. Configure the URL value to equal the relative path of the vlocityLWCOmniWrapper. For information on obtaining the relative path, see [Launching an LWC Omniscript in Lightning (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_launching_an_lwc_omniscript_in_lightning.htm&release=264.0.0&type=5 "For the managed package runtime, to make an Omniscript URL addressable using the vlocityLWCOmniWrapper:").
    
    ```
    
                namespace__vlocityLWCOmniWrapper?c__target=c:myLWCTestEnglish&c__layout=lightning
              
    ```