Create and customize alert messages in UI Builder
Learn how alert messages help you communicate feedback and status updates using both default and scripted approaches.
Alerts are components that display standardized notifications, such as feedback, warnings, and confirmations. They’re easy to configure without scripting, but you can add a script for more advanced functionality.
UI Builder supports several types of alert messages. To see how each one behaves, open the Alert component documentation and try out different settings in the interactive preview.
Create alert messages in UI Builder
Add and configure alert messages for simple notifications without scripting.
Before you begin
Role required: ui_builder_admin
About this task
Use the default alert message configuration for simple notifications. In this example, the alert displays a personalized greeting using the logged-in user's full name.
| Component | Documentation links |
|---|---|
| Alert |
Procedure
Customize alert messages with a client script in UI Builder
Use a client script to create dynamic, context-sensitive alert messages.
Before you begin
Role required: admin
About this task
Scripted alerts provide notifications that respond to events or external data. They are highly flexible and can react to complex conditions, but require scripting knowledge and more effort to maintain. In this example, a button triggers a client script that generates multiple alerts with custom messages.
| Component | Documentation links |
|---|---|
| Button | |
| Alert |