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

Newbie here-Some questions

Hello, looking to develop some apps for my organization. Seems a perfect fit for what we need.

Question. Is it possible to create a button that will query the user's mobile device and get their GPS location and store it in a field? Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
SergioGiusti
Level: Powered On

Re: Newbie here-Some questions

Yes you can store their GPS data. 

 

Built into PowerApps is Location.Longitude and Location.Latitude.

 

Using these, if you add the Bing Maps connector (Free to use), you can get the actual address:

 

Street: BingMaps.GetLocationByPoint(Location.Latitude,Location.Longitude).address.addressLine

Full Address: BingMaps.GetLocationByPoint(Location.Latitude,Location.Longitude).address.formattedAddress

Postal Code/Zip Code: BingMaps.GetLocationByPoint(Location.Latitude,Location.Longitude).address.postalCode

4 REPLIES 4
Super User
Super User

Re: Newbie here-Some questions

I don't know about the users mobile number...I have only done the users name before.

 

But I do know you can get the GPS location by doing "Location.Latitude" (or Longitude) and you could store them in separate columns (which I would) or combine into one depending on your need.

Larimer77
Level: Power Up

Re: Newbie here-Some questions

Not interested in storing the user's mobile #, just their GPS location.

I would most likely store as separate fields and only join them if needed in PowerBI.

 

Just wanted to make sure it was possible. Thanks!

SergioGiusti
Level: Powered On

Re: Newbie here-Some questions

Yes you can store their GPS data. 

 

Built into PowerApps is Location.Longitude and Location.Latitude.

 

Using these, if you add the Bing Maps connector (Free to use), you can get the actual address:

 

Street: BingMaps.GetLocationByPoint(Location.Latitude,Location.Longitude).address.addressLine

Full Address: BingMaps.GetLocationByPoint(Location.Latitude,Location.Longitude).address.formattedAddress

Postal Code/Zip Code: BingMaps.GetLocationByPoint(Location.Latitude,Location.Longitude).address.postalCode

Larimer77
Level: Power Up

Re: Newbie here-Some questions

Thanks! Are there some sample apps out there I can look at?

 

Basically, I want to be able to present a button that let's them record their location and then it can be stored somewhere so that others can see it and compile it.

 

Would be necessary to be able to store it locally in case they don't have cell coverage and then automatically upload it when they have coverage again. Thanks!

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 91 members 4,272 guests
Please welcome our newest community members: