Skip to main content

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

NameTypeDescription
messagestring | ShowMessageParamsMessage 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

TypeDescription
Promise <ShowMessageReturnValue>It returns MFCLIENTSCRIPT~ISHELLUI~SHOWMESSAGE.