If you would like to upgrade to a newer long-term support version of Studio Pro, see Moving from Mendix Studio Pro 8 to 9.
Show Message
Introduction
The Show message activity shows a blocking or non-blocking message to an end-user. For example, if the end-user did not select the customer grade in a form, you can show an error message telling them to select a grade to proceed:
Properties
There are two sets of properties for this activity, those in the dialog box on the left, and those in the properties pane on the right:
The Show message properties pane consists of the following sections:
Action Section
The Action section of the properties pane shows the action associated with this activity.
You can open a dialog box to configure this action by clicking the ellipsis (…) next to the action.
You can also open the dialog box by double-clicking the activity in the microflow or right-clicking the activity and selecting Properties.
Type
Type defines the color scheme and icon of the message.
There are three message options:
- Information (default)
- Warning
- Error
Template
Template defines the text of the message. The template can contain parameters that are written as a number between braces, for example, {1}. The first parameter has number 1, the second 2, etc.
Parameters
For each parameter in the template, you define an attribute of the context entity or an associated entity. The value of this attribute will be inserted at the position of the parameter. Parameters should be entered using expressions resulting in a string.
With parameters you can customize your message with data specific to the situation. For example, the message “An email has been sent to customer {1}.” with parameter $customer/FullName
will show the full name of the customer who an email has been sent to.
Blocking
The Blocking property defines whether the message shown to the end-user is blocking or not. A non-blocking message lets users continue their work in the app with the pop-up window open, while a blocking message does not let the user continue work until the pop-up window is closed.
Option | Description |
---|---|
Yes (default) | The message appears in a pop-up in the center of the screen and does not let the user continue work until the pop-up window is closed. |
No | The message appears in a pop-up in the center of the screen but does not block the rest of the screen, allowing the end-user to continue their work with the pop-up open. |