# Pespective webpage change to phone sms interface and auto fill the info

**URL:** <https://forum.inductiveautomation.com/t/pespective-webpage-change-to-phone-sms-interface-and-auto-fill-the-info/96013>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 16, 2024, 11:33am UTC](https://forum.inductiveautomation.com/t/pespective-webpage-change-to-phone-sms-interface-and-auto-fill-the-info/96013 "2024-09-16T11:33:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [September 16, 2024, 11:33am UTC](https://forum.inductiveautomation.com/t/pespective-webpage-change-to-phone-sms-interface-and-auto-fill-the-info/96013/1 "2024-09-16T11:33:26Z")

</div>

I have seen some app that when you type some sms message and select some recipients, then click 'bulk Send', it will automatically change to the phone sms app and fill up the sms mesaage body and recipients using the info from the app.

So it can using your phone number to send out the sms instead of using another number to bulk send, Twilio has bulk send function but by using twilio number, when the recipient reply, it will only reply to the send number which is a twilio number, it breaks the interaction between you/tech support and the clients.

Is it something achievable from Ignition?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 16, 2024, 2:12pm UTC](https://forum.inductiveautomation.com/t/pespective-webpage-change-to-phone-sms-interface-and-auto-fill-the-info/96013/2 "2024-09-16T14:12:22Z")

</div>

You can use a custom, manually created URL navigation action that uses the SMS "protocol" to do this, as in this post:

> <https://stackoverflow.com/questions/12818832/send-sms-to-multiple-recipients-using-sms-url-in-iphone>

---

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [September 16, 2024, 11:11pm UTC](https://forum.inductiveautomation.com/t/pespective-webpage-change-to-phone-sms-interface-and-auto-fill-the-info/96013/3 "2024-09-16T23:11:40Z")

</div>

Thanks. I will give it a try today.

---

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [September 17, 2024, 1:48am UTC](https://forum.inductiveautomation.com/t/pespective-webpage-change-to-phone-sms-interface-and-auto-fill-the-info/96013/4 "2024-09-17T01:48:57Z")

</div>

I am new to the href link to buttons in ignition.

I tried to following:

1. create a button.
2. create a script on the button click action.

```python
strUrl = '<a href="sms://open?addresses=+11122222,+1122222222?&body=Message%20Line%201%E2%80%A8Message%20Line%202">Send SMS to multi #s</a>'
system.perspective.navigate(url= strUrl)

```

1. open this perspective project from phone webpage.
2. click the button.
3. new page shown up:

```python
Bad Message 400
reason: Ambiguous URI empty segment

```

Is it something wrong with the href string or I should use other way to call the href?

---

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [September 17, 2024, 2:15am UTC](https://forum.inductiveautomation.com/t/pespective-webpage-change-to-phone-sms-interface-and-auto-fill-the-info/96013/5 "2024-09-17T02:15:07Z")

</div>

just found this ignition doc

> **[system.perspective.navigate | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-perspective/system-perspective-navigate)**
>
> Navigate the session to a specified view or mounted page.

I tried sending to one address using the following url, it's working.

```python
system.perspective.navigate(url= "sms:+1-999-999-9999?&body=My%20Message")

```

the bulk send url I tried is also working.

```python
system.perspective.navigate(url= "sms:+1-999-999-9999,+1-999-999-8888?&body=My%20Message")

```

I am using samsung phone for testing.

For iphone, change to the following format for bulk SMS.

```python
sms://open?addresses=+15558675309,+15558675301/&body=Text%20Here%20end!

```

> <https://stackoverflow.com/questions/6480462/how-to-pre-populate-the-sms-body-text-via-an-html-link>

> <https://stackoverflow.com/questions/4787905/sms-url-on-android>
