ShowMessage
Description
Shows the default M-Files message box with the specified content and appearance.
Syntax
// The dashboard variable here points to instance of IDashboard
const result = await dashboard.ShowMessage(message);
Parameters
Name | Type | Description |
---|---|---|
message | 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. See the M-Files UI Extensibility framework User's Guide for more details. |
Return type
Type | Description |
---|---|
Promise <ShowMessageReturnValue> | Structure indication which button was clicked. |