---
schema_version: "1"
id: bff8044e38fa1964af9ccb85034865d88f0dcfe4555ce32e09d91f7d9fb927ef
title: Modify Omniscript UI Behavior
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_modify_omniscript_ui_behavior_19378.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_modify_omniscript_ui_behavior_19378.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2abea292d015f749525b05191c094fb32dafd932854263b766c3634430a3a81f
description: You modify UI behaviors in an Omniscript to hide or show elements and errors conditionally. You can also trigger Salesforce platform events. When previewing large Omniscripts, you can hide the userProfile node.
products:
  - Omnistudio
release: "264"
---
# Modify Omniscript UI Behavior

You modify UI behaviors in an Omniscript to hide or show elements and errors conditionally. You can also trigger Salesforce platform events. When previewing large Omniscripts, you can hide the userProfile node.

- **[Conditionally Display Omniscript Elements](https://help.salesforce.com/s/articleView?id=xcloud.os_conditionally_display_elements_using_the_conditional_view_property_19389.htm&release=264.0.0&type=5)**  
    With the Conditional View property, you can hide an element or a group of elements in a block or step based on certain conditions. Every step, block, or element supports at least one conditional view. Elements contain up to three conditional view options depending on the type of element. For example, an action outside of a step doesn’t have a Read-Only option since the action isn’t visible.
- **[Hide Omniscript Elements](https://help.salesforce.com/s/articleView?id=xcloud.os_hide_omniscript_elements_19515.htm&release=264.0.0&type=5)**  
    Hide elements and child elements using the Hide property available on Omniscript Input Components, Blocks, Steps, Groups, Formulas, and Aggregate elements.
- **[Fire Platform Events from Omniscripts](https://help.salesforce.com/s/articleView?id=xcloud.os_fire_platform_events_from_omniscripts_19661.htm&release=264.0.0&type=5)**  
    Fire Salesforce platform events from the context of an Omniscript.
- **[Hide the userProfile Node in Omniscript Preview](https://help.salesforce.com/s/articleView?id=xcloud.os_hide_the_userprofile_node_in_preview.htm&release=264.0.0&type=5)**  
    To improve the performance of Omniscript previews, you can hide the userProfile node. This helps previews load faster, especially for larger Omniscripts.