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.
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
146,702
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,015
Most Valuable Professional