-
Notifications
You must be signed in to change notification settings - Fork 24
MobileCRM.UI.MessageBox.sayText
rescocrm edited this page May 15, 2023
·
9 revisions
Shows a simple popup window with a multi-line text.
| 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
});