A toast popup is an unobtrusive way to display a message to a user. It displays at the bottom of the page, out of the way from what the user is doing and goes away on it’s own after a short period. Creatio includes the ability to display a toast message to a user from Freedom UI pages as of 8.0.10. In order to display a toast popup, we’ll simply need to execute a crt.NotificationRequest request and include a message we want to display. The code is simple and easy.
Let’s take a look at how it works:
request.$context.executeRequest({
type: "crt.NotificationRequest",
message: "This is my toast message!"
});
The end result is the following:

This is a nice way to display information to the user without getting in their way. This request also includes some optional parameters you can also include:
- duration – (integer) the number of milliseconds to display the toast message (I believe the default is 3000, or 3 seconds)
- awaitResponse – (boolean) whether or not you want the request to await the response to the message
- translate – (boolean) if a name of a localized string is used for the message, whether to translate the string



