You are here:
Test Angular Omniscript Data in the Omniscript Data Panel (Managed Package)
For the managed package runtime, test data while previewing an Angular Omniscript by using the Omniscript Data panel.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
Test an Angular Omniscript's ContextId functionality by entering a Record ID into the Data panel's ContextId field. Omniscript automatically generates the ContextId when the Omniscript is on a Record page. The ContextId can also be set manually using Set Values or dynamically by accessing the Id of the current user in Omnistudio Data Mapper.
-
Preview the Omniscript, and click Data.

-
In the ContextId field, enter a Record ID.

- Pass the Record ID into the ContextId JSON node by clicking Fetch.
- (Optional) Clear the data JSON when Fetch is clicked by checking Clear Data on Fetch.

