cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
medelmayer
Regular Visitor

Power App Clickable Phone number

I used the template connected to SharePoint for an employee phone list.  I am tying to make the number in the list open the phone app and dial.

 

I have tried:

OnSelect - Launch("tel:\\" & ThisItem.Mobile)

and

Launch("tel:" & ThisItem.Mobile)

 

Neither seem top work.  What am I mising?

1 ACCEPTED SOLUTION

Accepted Solutions
TheRobRush
Super User
Super User

Yes looks like your info is in a datacard, so check that it is set to edit as tim suggested, sorry for late reply had went to lunch

 

_____________________________________________________________________________________
Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
This helps others find solutions to future issues!

View solution in original post

9 REPLIES 9
TheRobRush
Super User
Super User

Launch("tel:" & ThisItem.Mobile) this is correct format. maybe show us the column settings for mobile in your sp list so we can try and replicate the issue.

 

what DOES happen when you click the number? do you receive an error

_____________________________________________________________________________________
Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
This helps others find solutions to future issues!

Tried that still no luck.

 

Here are the column settings.

 

medelmayer_0-1622143956493.png

 

TheRobRush
Super User
Super User

Ok i created the column type you had and made a gallery

 

onselect of control in gallery i set to

Select(Parent);
Set(varTelly,"tel:"&ThisItem.MOBILE);
Launch(varTelly)

 

and this launched the phone as desired

_____________________________________________________________________________________
Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
This helps others find solutions to future issues!

New at this so forgive my ignorance. 

medelmayer_0-1622144733311.png

Still does not seem to work when I test.

TheRobRush
Super User
Super User

click on that red x and share what the error it is giving you is.

 

also is that control there you show in the gallery? it looks more like a data card.

_____________________________________________________________________________________
Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
This helps others find solutions to future issues!

It's the detail screen from the main screen. I used the template so I am not sure of the difference yet.

 

medelmayer_0-1622145744840.png

 

 

timl
Super User
Super User

Hi @medelmayer 

The following formula should work, so long you change the display mode property of your card to edit.

Launch("tel:" & ThisItem.Mobile)

 There are more details in this post.

https://powerusers.microsoft.com/t5/Building-Power-Apps/Launch-Function-not-working-inside-a-DataCar...

 

TheRobRush
Super User
Super User

Yes looks like your info is in a datacard, so check that it is set to edit as tim suggested, sorry for late reply had went to lunch

 

_____________________________________________________________________________________
Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
This helps others find solutions to future issues!
Bader
Frequent Visitor

I tried the following. It worked.

launch(“tel:\\” & ThisItem.mobile)

 

regards

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,130)