cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
petemande
Level: Power Up

initiate call on iphone from pc

is it possible to initiate a call from a powerapp running on Windows 10 pc?

 

I have a legacy application running under windows which contains the phone numbers I have to call.

 

I want to be able to enter the phone number into a entry field in a powerapp running on windows 10 and launch the call on my iphone.

 

In other words - is it possible communicate from a powerapp running on pc to a powerapp running on iphone?

 

I am completely new to MS PowerApps so excuse this probably naive question.

 

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Power Apps Staff CarlosFigueira
Power Apps Staff

Re: initiate call on iphone from pc

You can send a notification to an app that is running on the phone, and on the app, when it's launched via the notification, it would initiate the call (or prompt for the user to initiate the call). The post at https://powerapps.microsoft.com/en-us/blog/add-push-notification-to-you-app-and-boost-usage-and-rete... has information on how to set up the push notification, but the steps are more or less the following:

- Create an app that is to be run on the phone; in the OnVisible property of the first screen, you can check the parameter passed by the notification, and call the Launch function with the "tel:" schema. For example:

If(Param("whatToDo") = "call", Launch("tel:" & Param("phoneToCall")))

- After publishing that app, add a new connection to the "PowerApps Notification" connector, as described in the blog post

- Create another app to be run on Windows. Add the connection you created above, and in a button's OnSelect property, send a notification to the app with the appropriate parameters. Something along the lines of:

PowerAppsNotification.SendPushNotification({
    recipients:["youremail@domain.com"],
    openApp:true,
    message:"Please open the app to make the call",
    params:Table(
        {key:"whatToDo",value:"call"},
        {key:"phoneToCall",value:"555-555-1234"}
    )
})

When you receive the notification on your phone and click on it, it will open PowerApps with the parameters passed to the app, and it will start the call. In iOS, you'll need to confirm that you want to make the call (which is a good thing, we want the user to be in control of his/her phone) by selecting the "Call" option.

View solution in original post

2 REPLIES 2
Power Apps Staff CarlosFigueira
Power Apps Staff

Re: initiate call on iphone from pc

You can send a notification to an app that is running on the phone, and on the app, when it's launched via the notification, it would initiate the call (or prompt for the user to initiate the call). The post at https://powerapps.microsoft.com/en-us/blog/add-push-notification-to-you-app-and-boost-usage-and-rete... has information on how to set up the push notification, but the steps are more or less the following:

- Create an app that is to be run on the phone; in the OnVisible property of the first screen, you can check the parameter passed by the notification, and call the Launch function with the "tel:" schema. For example:

If(Param("whatToDo") = "call", Launch("tel:" & Param("phoneToCall")))

- After publishing that app, add a new connection to the "PowerApps Notification" connector, as described in the blog post

- Create another app to be run on Windows. Add the connection you created above, and in a button's OnSelect property, send a notification to the app with the appropriate parameters. Something along the lines of:

PowerAppsNotification.SendPushNotification({
    recipients:["youremail@domain.com"],
    openApp:true,
    message:"Please open the app to make the call",
    params:Table(
        {key:"whatToDo",value:"call"},
        {key:"phoneToCall",value:"555-555-1234"}
    )
})

When you receive the notification on your phone and click on it, it will open PowerApps with the parameters passed to the app, and it will start the call. In iOS, you'll need to confirm that you want to make the call (which is a good thing, we want the user to be in control of his/her phone) by selecting the "Call" option.

View solution in original post

petemande
Level: Power Up

Re: initiate call on iphone from pc

wow - thank you so much Carlos. I will try this.

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,484)