RingCentral Embeddable SMS pass the " Message" after click , can it be done?

  • 1
  • Question
  • Updated 2 months ago
  • (Edited)
RingCentral Embeddable SMS pass the " Message" as well after the click, can it be done?



<a href="sms://+12121231234?body=Test Message Text">Send a SMS message</a>
Photo of Sal Dashyan

Sal Dashyan

  • 120 Points 100 badge 2x thumb

Posted 3 months ago

  • 1
Photo of Embbnux Ji

Embbnux Ji, Employee

  • 1,268 Points 1k badge 2x thumb
Hi, Sal. This feature hasn't been supported in RingCentral Embeddable. But it is a great idea, and not hard to implement.  I have created a issue in here and add it to our backlog.  https://github.com/ringcentral/ringcentral-embeddable/issues/168
(Edited)
Photo of Embbnux Ji

Embbnux Ji, Employee

  • 1,268 Points 1k badge 2x thumb
Hi, Sal. We have supported this feature in master branch release. You can try it in the bottom of here https://ringcentral.github.io/ringcentral-embeddable/  It supports to pass message text by `sms:+1234567890?text=test_content` or use Go to SMS api.
Photo of Sal Dashyan

Sal Dashyan

  • 120 Points 100 badge 2x thumb
Thanks, for the help. I was able to pass the " text".

There is any way to make it send the "text" automatically without pressing the " send " button on the widget? like when you click to "call" its automatically dial for you.
Photo of Embbnux Ji

Embbnux Ji, Employee

  • 1,268 Points 1k badge 2x thumb
Hi, Sal. Thanks for your feedback.  For auto sent sms, I will check it with our PM. We need to make sure if it is safe
Photo of Sal Dashyan

Sal Dashyan

  • 120 Points 100 badge 2x thumb
any update?
Photo of Embbnux Ji

Embbnux Ji, Employee

  • 1,268 Points 1k badge 2x thumb
Hi, Sal, I checked with team. there is potential secure problem if we support auto send. For call, user can still cancel the call. But sms can't be canceled. We need user's confirm before sending SMS
Photo of Sal Dashyan

Sal Dashyan

  • 120 Points 100 badge 2x thumb
did there was a recent update the changed the code:  ?test  to ?body
from:
`sms:+1234567890?text=test_content`

to:

`sms:+1234567890?body=test_content`




Photo of Embbnux Ji

Embbnux Ji, Employee

  • 1,268 Points 1k badge 2x thumb
Hi, Sal, we updated it to `body` recently, but `text` is still supported. `body` is more standard.
Photo of Sal Dashyan

Sal Dashyan

  • 120 Points 100 badge 2x thumb
just to let you know that there is a bug in the update:

plain text code link is working:

<a href="sms:+1234567890?body=test_body">sms:+1234567890</a>


img code link is NOT working ( to click an icon)

<a href="sms:+1234567890?body=test_body"><img src="images/ringcentral_sms.png"></a>



it used to work before the update, you can also see that your online " Static CRM" demo has the same problem.

Photo of Embbnux Ji

Embbnux Ji, Employee

  • 1,268 Points 1k badge 2x thumb
Thanks Sal. I have reproduced this issue. Will fix it soon.
Photo of Embbnux Ji

Embbnux Ji, Employee

  • 1,268 Points 1k badge 2x thumb
Hi, Sal. We have updated to fix this issue in master version. Please have a try.
Thanks so much.
Photo of Sal Dashyan

Sal Dashyan

  • 120 Points 100 badge 2x thumb
working, back to normal. :)