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
Draax
Level 8

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

View solution in original post

5 REPLIES 5
Draax
Level 8

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

View solution in original post

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 8

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

Would you mind sharing a screenshot or your code?

 

 

-Draax

Highlighted
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

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

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

Top Kudoed Authors
Users Online
Currently online: 327 members 1,832 guests
Please welcome our newest community members: