MobileCRM.Platform.sendSMS - Resconet/JSBridge GitHub Wiki
[v11.2.3] Opens the platform-specific sms application with specified phone number and pre-fill text.
Arguments
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);
});