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.
Avant de commencer
Role required: ui_builder_admin
Pourquoi et quand exécuter cette tâche
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 |
Procédure
Customize alert messages with a client script in UI Builder
Use a client script to create dynamic, context-sensitive alert messages.
Avant de commencer
Role required: admin
Pourquoi et quand exécuter cette tâche
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.
- Button: Triggers the client script to display the alerts.
- Alert: Displays customized messages.
| Component | Documentation links |
|---|---|
| Button | |
| Alert |