Open Alert Modal
Overview
The Open Alert Modal interaction is a feature within Salesforce Experience Cloud that enables the display of an alert modal to users. Alert modals capture user attention for notifications, confirmations, warnings, or errors.
Properties
Neutral or general information. Use this when you are notifying a user of a change.
Warning. Use this for critical information that will help a user avoid an issue.
Error. Use this for critical information preventing a user from continuing a flow and if there's action required on their end to resolve the issue
Name | Description |
---|---|
| The title or heading text displayed in the alert modal's header. |
| The main text content displayed in the alert modal, providing details about the notification or alert. |
|
|
|
|
|
|
Example
Imagine you want to show an alert modal when a user completes a form to confirm their action:
After a user submits a form, trigger the alert modal by configuring the submit button’s interaction to 'Open Alert Modal.'
Set the Label to "Submission Confirmation" and the Message to "Your form has been successfully submitted."
Choose the Variant 'header' to include a header in the modal.
For the Theme, select 'success' to align with the positive nature of the message.
In the 'On Close' setting, you might want to refresh the page or navigate the user to a confirmation page.
Tips
Use clear and concise messages to ensure users understand the alert's purpose.
Choose a theme that matches the alert's context for intuitive user experience.
Always preview modals to check for text clarity and proper theming before publishing.
Conclusion
Alert modals are great for engaging with users and providing essential feedback. With the Open Alert Modal interaction, Salesforce administrators and developers can craft a diverse range of alerts tailored to the context of user interactions, enhancing the overall user experience on the platform.
Last updated