---
schema_version: "1"
id: 9cebc56edbcc79229ab86e095a521896af3953e6e0703553550d33c8e0c9d48f
title: Embedding a Reusable 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_embedding_a_reusable_omniscript.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_embedding_a_reusable_omniscript.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 073f856e91ada66fff0d4fcc62c9aa675716f3eeb379c7799fcac44be10905f0
description: For the managed package runtime, you can embed active reusable Omniscripts in other Omniscripts. For example, if you have an Omniscript that updates a case, you might want to add that reusable script component at the end of an Omniscript form used for troubleshooting.
products:
  - Omnistudio
release: "264"
---
# Embedding a Reusable Omniscript (Managed Package)

For the managed package runtime, you can embed active reusable Omniscripts in other Omniscripts. For example, if you have an Omniscript that updates a case, you might want to add that reusable script component at the end of an Omniscript form used for troubleshooting.

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

To embed a reusable Omniscript in another form:

1. Expand the Omniscripts section of the Available Components.
2. Drag the reusable Omniscript onto the Structure pane.
    
    ![Embed a reusable OmniScript](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/omniscript_embed_reusable.png)
    
    ![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 Starting with Summer '17, Reusable Omniscripts have a link, located under the element properties, that enables a user to view the Omniscript in a new tab while working in the Omniscript Designer.
    
    If the Omniscript that you want to embed is not visible, make sure it's Active and marked as Reusable. For more information, see [Embed an Omniscript in Another Omniscript (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_embed_an_omniscript_in_another_omniscript.htm&release=264.0.0&type=5 "For the managed package runtime, an Omniscript can be reused in one or more existing Omniscripts. Reusing Omniscripts enables you to build a variety of smaller scripts and then piece them together into one or more parent scripts. Embedded Omniscripts behave just like other Omniscript elements.") and [Activate and Deactivate Embedded Omniscripts (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_activate_and_deactivate_embedded_omniscripts.htm&release=264.0.0&type=5 "For the managed package runtime, when you activate or deactivate an embedded script, Vlocity updates all activated parent scripts to reflect the change.").