SharePoint list contains latitude and longitude fields, In canvas app when submit the form show the latitude and longitude values of users. How can achieve thisone. Please help for correct approach of thisone.Thanks in advance.
yes Resovled,Thanks alot.
Hi @microsoftdevlop,
The answer is yes, the above formula work for this scenario.
You coul check our doc for more details about Location().
If your device location is correct, Power Apps Location() function will get you the correct latitude and longitude.
In canvas app user fill the fields like date, start date,end date etc. when submitting the form the user latitude and longitude should capture automatically. above formula work for this scenario?
Hi @microsoftdevlop,
Do you want to submit the latitude and longitude of the current user?
You could use the Location() function as below:
Location.Longitude
Location.Latitude
If you have a TextInput control to save the Location.Latitude, please set the Default property as above, and set the Update property of corresponding data carad as below:
TextInputControl.Text
WarrenBelz
223
Most Valuable Professional
MS.Ragavendar
110
Michael E. Gernaey
89
Super User 2025 Season 1