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

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

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

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

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 III
Super User III

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

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

Bader
Frequent Visitor

I tried the following. It worked.

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

 

regards

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,903)