cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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
Resolver I
Resolver I

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
Highlighted
Resolver I
Resolver I

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

Highlighted
Anonymous
Not applicable

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.

 

 

Highlighted
Resolver I
Resolver I

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

Would you mind sharing a screenshot or your code?

 

 

-Draax

Highlighted
Anonymous
Not applicable

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?

Highlighted
Anonymous
Not applicable

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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,471)