---
schema_version: "1"
id: dddab5a3ca457af002f14d404c4492a4fff999737758fb1fa91740bc48e4330e
title: Seed Data Into an 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_seed_data_into_an_omniscript.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_seed_data_into_an_omniscript.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: eff3fe29cb34463e49d44847b72c593b66b72e4c0126fcddfe46664349047a59
description: For the managed package runtime, prefill Omniscript fields with data or add hidden nodes to the Omniscript Data JSON using the Seed Data JSON property in the Omniscript's Setup section.
products:
  - Omnistudio
release: "264"
---
# Seed Data Into an Omniscript (Managed Package)

For the managed package runtime, prefill Omniscript fields with data or add hidden nodes to the Omniscript Data JSON using the Seed Data JSON property in the Omniscript's Setup section.

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

The Seed Data JSON property should be used with static values that seed during the initial load of the Omniscript. In order to set values using formulas or with information entered into the Omniscript after the initial load, see [Set Values in an Omniscript](https://help.salesforce.com/s/articleView?id=xcloud.os_set_values_in_an_omniscript.htm&release=264.0.0&type=5 "For the managed package runtime, use the Set Values action to set element values in subsequent steps, rename JSON nodes, create dynamic values, and concatenate data. Set Values actions use merge fields to access JSON data in other Omniscript elements.").

1. In the Omniscript's **Script Configuration**, find **Seed Data JSON** section and click **+Add New Key/Value Pair**.
2. Enter the name of the element to prefill in the left text field. Enter the desired value of the element in the right text field. If the element has multiple responses, such as a multi-select, you can prefill more than one value by separating the entries with a semicolon.
3. When the user launches the script, the elements specified in the **Seed Data JSON** section contain the static values from the Script Configurations.
    
    ![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
    
    When embedding Omniscripts in the utility bar, flyout, or modal, ensure they scroll to the top when users navigate with Previous or Next buttons by using the "omniscriptEmbeddedSource" key in the prefill. Set the key `omniscriptEmbeddedSource` with a value of `utilitybar`, `flyout`, or `modal` accordingly.
4. You can also use the Seed Data JSON property to add hidden nodes to the Data JSON of the Omniscript. For example, an Omniscript used for troubleshooting may create a case. You could use the default values from hidden nodes to prefill values. For example, you may want the Omniscript to create a Case with Type, Status, and Origin defined in the Data JSON of the Omniscript. Using this method, you can have multiple Omniscripts associated with one Omnistudio Data Mapper interface that creates the Case.