---
schema_version: "1"
id: 3fe214bfc7a1ec6c2499efffe1c18dd942e4d6440ba93f090196948f6e1610b4
title: Add Test Data to 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_add_test_data_to_an_omniscript.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_add_test_data_to_an_omniscript.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 77ecba4549486d1c13035f70ab71e55a72390e452270ad6ddb3c9a594ad3988e
description: For the managed package runtime, add test data to an Omniscript from the Omniscript Designer.
products:
  - Omnistudio
release: "264"
---
# Add Test Data to an Omniscript (Managed Package)

For the managed package runtime, add test data to an Omniscript from the Omniscript Designer.

![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 Omniscript, click **Preview**.
2. If your Omniscript does not have a SetValues action that defines a ContextId, to preview the form with data, enter a record ID in the **Context ID** field.
    
    ![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
    
    Confirm that a ContextId is defined in your data source. For example, if you have an Omnistudio **Data Mapper Extract Action** that gets account records, you must have an Input Parameter whose **Data Source** is ContextId, and whose **Filter Value** is the Data Mapper Extract's output name, such as AccountId.