- How to disable notifications on the form
- How to show custom notification (info, warning, error)
- How to clean notification area
Most frequently I use these scripts to get rid of warning “The following error occurred: Missing Price List” and show custom messages
How to disable notifications on the form
Use following function to disable notifications on the form:
If for some reason you want to enable notifications on the form use following:
How to show custom notification (info, warning, error)
Using function below you can easily add you custom message in notification are.
Usage example:
How to clean notification area
If you want, for example clean notification area before showing your notification, use following function:
Update
I found discussion on the forum and decide to update the post with new method. This method allows to change the color of notification area:
You can download all sripts here:
1 comments:
Also, when implementing make sure to add quiet error handling in case .Notifications does not exist any more -- that way if it is not supported in your next rollup you aren't causing another error. This is unsupported after all..