For the managed package runtime, hide elements and child elements using the Hide property.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
When you hide an element in an Omniscript, Omnistudio sets the contents of the element to null in the data JSON. Consider this behavior if your Omniscript references the hidden field.
- From the element properties panel, click Edit as JSON.
-
Set the
"hide"property's value to"true". -
Exclusive to Angular Omniscripts, to enable a hidden element to be prefilled:
- Click the element you want to prefill with data.
- Check the box labeled Available for Prefill When Hidden.