ShowMessage
Description
Shows the default M-Files message box with the specified content and appearance.
Syntax
// shellUI points to instance of IShellUI
const result = await shellUI.ShowMessage(message);
Parameters
| Name | Optionality | Type | Description |
|---|---|---|---|
| message | Required | string | ShowMessageParams | Message content to show. String Type: The message to display. The message box contains single Ok button. Object Type: - Defines the message box content and buttons. |
Return type
| Type | Description |
|---|---|
Promise < ShowMessageReturnValue > | Returns the result of the button clicked by the user. |