---
schema_version: "1"
id: 9436c6793cbff19cc0e6cb25a8fb05bb0feea02fa8f8c3b8a126de0bc9564791
title: Using the Omnistudio Build Tool with OmniOut (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_build_tool_omniout.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_build_tool_omniout.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1ac5dde9e1458341d52601827f0d239e59fb3a963791a89d48116b54a889cf01
description: For the managed package runtime, if you use OmniOut, follow these instructions.
products:
  - Omnistudio
release: "264"
---
# Using the Omnistudio Build Tool with OmniOut (Managed Package)

For the managed package runtime, if you use OmniOut, follow these instructions.

![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 retrieve the Omniscripts that are part of the OmniOut deployment, run this command:

```
vlocity -propertyfile <filepath> -job <filepath> runJavaScript -js omniOutRetrieve.js
```

Retrieved files are exported into the folder OmniOut/scripts in your project.

For LWC Omniscripts, define a job file with the query.

```
projectPath: ./
queries: 
  - VlocityDataPackType: OmniScript
    query: Select Id, %vlocity_namespace%__Type__c, %vlocity_namespace%__SubType__c, %vlocity_namespace%__Language__c from %vlocity_namespace%__OmniScript__c where %vlocity_namespace%__IsActive__c = true AND %vlocity_namespace%__IsProcedure__c = false AND %vlocity_namespace%__Type__c = 'lwc' AND  %vlocity_namespace%__SubType__c in ('oplOmni', 'typeaheadExample')
```

Then run this command:

```
vlocity -propertyfile <filepath> -job <filepath> runJavaScript -js lwcOmniOutRetrieve.js
```