---
schema_version: "1"
id: 57d4ac783102a163fbd4f52968934824f316c5dbd9b629b229780c7ae4501b58
title: Testing Data Source Settings (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_testing_data_source_settings.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_testing_data_source_settings.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6a7f48f3f0904d69ff316e6fc1f7301aa88e6f19d4ef6d85cee2b039453f6b23
description: For the managed package runtime, add runtime variables to fetch and test your data source.
products:
  - Omnistudio
release: "264"
---
# Testing Data Source Settings (Managed Package)

For the managed package runtime, add runtime variables to fetch and test your data source.

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

Preview a Flexcard using real data by adding test variables that the query can use to return live data.

1. In the **Test Data Source Settings** section, click **\+ Add Test Variables**.
    
    ![image](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/testdatasourcesettingsviewdata.png)
2. Set **Name** to (for example) params.id.
3. Set **Value** to an actual record ID value.
    
    To find the actual ID value of a Salesforce record, copy the ID from the URL on the object's record detail page. If you are looking for an account ID, go to an Account record's detail page and capture the information after the last slash (`/`), as shown:
    
    ![image](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/screenshot___salesforce_account.png)
4. Click the **View Data** button to view the JSON-formatted response.
    
    - SOQL Query Example
        
        ![image](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/screenshot___query___view_data.png)
    - Data Mapper Example
        
        ![image](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/screenshot___dataraptor___view_data.png)