-
Notifications
You must be signed in to change notification settings - Fork 24
MobileCRM.Platform.sendSMS
rescocrm edited this page May 15, 2023
·
9 revisions
[v11.2.3] Opens the platform-specific sms application with specified phone number and pre-fill text.
| Argument | Type | Description |
|---|---|---|
| phoneNumber | String | Phone number |
| text | String | SMS text |
| errorCallback | function(errorMsg) | The errorCallback which is called asynchronously in case of error. |
| scope | Object | The scope for errorCallback. |
This example demonstrates how to open sms application with predefined telephone number and message text.
MobileCRM.Platform.sendSMS("123-456-789", "This sms was sent using RESCO MobileCRM JSBridge api.", function (err) {
MobileCRM.bridge.alert("Send SMS failed.\nErr: " + err);
});