cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Wapfunz
Level: Powered On

GeoLocation - how do I set up in a Powerapp?

Hi,

 

Need a simple step by step guide for a dummie like me.

I have set up/added a column called GeoLocation to my SharePoint list (that part worked). The column shows up in the Fields in the PowerApp.

I would like to use the GPS of the phone and save the location it gives.

How do I go about doing that from here...?

Can I show a map also or do I really need to?

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Draax
Level: Powered On

Re: GeoLocation - how do I set up in a Powerapp?

Hi,
Put a text field with the text value: Location.Altitude to get the altitude of the device.

Check here for more information: https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/signals

Also if you're in EU don't forget to run this by HR if you're using the location of an employee.

-Draax
5 REPLIES 5
Highlighted
Draax
Level: Powered On

Re: GeoLocation - how do I set up in a Powerapp?

Hi,
Put a text field with the text value: Location.Altitude to get the altitude of the device.

Check here for more information: https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/signals

Also if you're in EU don't forget to run this by HR if you're using the location of an employee.

-Draax
Wapfunz
Level: Powered On

Re: GeoLocation - how do I set up in a Powerapp?

Hi,

My first stumbling block was using a reserved name for a column - used Location - changed it to Site_Location

Arrrrrrrrrrrrr the beauty of reserved syntac for a start - lesson somewhere to be learnt.

 

Inserted a text field (Label) and just used the syntax "Location" - the app accepted it as a valid term.

Return the latitude and longitude of the curent location, as a record.

 

However nothing happened - no values show.

 

 

Draax
Level: Powered On

Re: GeoLocation - how do I set up in a Powerapp?

Would you mind sharing a screenshot or your code?

 

 

-Draax

Wapfunz
Level: Powered On

Re: GeoLocation - how do I set up in a Powerapp?

Hi,

 

Per attached screen shot.

As a test I put "Connection.Connected" as the text for Label_Location_Cordinates and it returned true.

"Location" is recognised, however Location.Latitude" is not.

 

The two App Checker are from the GeoLocation per second screen shot.

 

Is a data connection required for use of the GPS in the phone?

Wapfunz
Level: Powered On

Re: GeoLocation - how do I set up in a Powerapp?

And the problem is with the use of the reserved name - "Location"

Yup - once the column is deleted all works well. (I can reinstate a column to capture what is required under a different name - Site_Location - a text entry descriptive feild.

 

Note to self: Find out the list of all Reserved Names!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

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: 200 members 3,844 guests
Please welcome our newest community members: