You need to sign in to do that
Don't have an account?
Andee Weir 20
How to add a Warning message on standard Lightning UI
Hi,
I have a user requirement to add a warning message to the standard Lightning Case UI which displays an 'Are you sure?' type message if the user is updating the status to Closed & a custom field, frequency__c, is not One-Off. It should work in a similar fashion to the warning that appears in Lightning when deleting a client e.g. user given 2 options; one that continues with the operation & the second cancels it.
Any thoughts on how to achieve this? Thanks
I have a user requirement to add a warning message to the standard Lightning Case UI which displays an 'Are you sure?' type message if the user is updating the status to Closed & a custom field, frequency__c, is not One-Off. It should work in a similar fashion to the warning that appears in Lightning when deleting a client e.g. user given 2 options; one that continues with the operation & the second cancels it.
Any thoughts on how to achieve this? Thanks
All Answers
You can Implement based on this article,
https://www.lightningdesignsystem.com/guidelines/messaging/components/alerts/
For further reference, you can try this too,
https://developer.salesforce.com/docs/component-library/bundle/ui:message/example
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.