You are here:
Modify Omniscript UI Behavior (Managed Package)
For the managed package runtime, this section explains how to modify UI behaviors in an Omniscript.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
Behavior options include:
-
Hide or show elements and errors conditionally
-
Hide Next and Previous buttons
-
Trigger events
- Configuring the Cancel Link in an Omniscript (Managed Package)
For the managed package runtime, the Cancel link appears on every Step in an Omniscript. From the Omniscript Designer, in the Cancel Options section of the Script Configuration, you can specify the behavior for when a user hits the Cancel link with the Cancel Type and Cancel Source. - Use the Conditional View Property to Conditionally Display Elements (Managed Package)
For the managed package runtime, every step, block, or element supports at least one Conditional View. Conditional Views allow you to hide the element or the group of elements contained in a block or step based on certain conditions. 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 (Managed Package)
For the managed package runtime, hide elements and child elements using the Hide property. - Hide the Next and Previous Buttons (Managed Package)
For the managed package runtime, hide a Step's Next and Previous buttons when using auto-advance options or when you do not want the user to navigate steps. - Customize Omniscript Error Messages (Managed Package)
For the managed package runtime, the error message handler enables you to replace default error messages from remote apex calls with more user-friendly error messages when errors occur in Omniscript. The Error Messages handler property is available in File elements, Image elements, all Action elements, Omniscript Script Configuration, and Setup. - Display Messages in Omniscripts (Managed Package)
For the managed package runtime, display comments, requirements, and success and warning messaging depending on whether the validate expression returns True or False. Configure the Messaging element after creating an element, such as a formula or aggregate, to display validation messages in the OmniScript. Merge fields are supported in messages. - Enable Confirmation Prompts on Angular Omniscripts (Managed Package)
For the managed package runtime, enable confirmation prompts for the Angular Omniscript actions on this page. By default, these actions don’t prompt the user to confirm before they’re executed. - Fire Platform Events from Omniscripts (Managed Package)
For the managed package runtime, fire Salesforce platform events from the context of an Omniscript. - Set Errors In an Omniscript (Managed Package)
For the managed package runtime, put error or validation messaging on one or more elements in a previous step based on conditions from future steps using the Set Errors action element. Using required fields and Formula/Messaging elements, you can set requirements and conditions on elements only in the current step. - Triggering Lightning Events in Omniscript (Managed Package)
For the managed package runtime, it is possible to trigger Lightning events from within an Omniscript. For example, you may wish to update an item on a Layout when an Omniscript is completed.

