cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

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
Power Apps

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
Power Apps

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

New Member

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

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (64,116)