Skip to content

MobileCRM.UI.MessageBox.sayText

rescocrm edited this page May 15, 2023 · 9 revisions

Shows a simple popup window with a multi-line text.

Arguments

Argument Type Description
text String A text to be shown.
success function The callback function that is called after user closes the message box.
failed function(errorMsg) The errorCallback which is called asynchronously in case of error.
scope Object The scope for callbacks.

This example demonstrates how to display simple popup with multi-line text.

var text = "Thank you for using this method\nPress OK to continue.";
MobileCRM.UI.MessageBox.sayText(text, function () {
	// ... continue execution
});

Clone this wiki locally