i need to have a button when press ill get the gps coordinates in a datacard text input
can you hel please ?
This gives me My coordinates.
What if i want coordinates of another user in my organization.
something like :
Office365Users.UserProfileV2("abc@xyz.com").Location.Latitude
Set a button with variables:
UpdateContext({var_currentLat: Location.Latitude})
;;
UpdateContext({var_currentLong: Location.Longitude})
And a label text property :
"Latitude: " & var_currentLat & " Long" & var_currentLong
Press the button see if it works
You can set a variable with the GPS coordinates (using the Location signal), and set the Default property of the text input control to use that variable. For example, if you set this expression to the button's OnSelect property:
UpdateContext({lat: Location.Latitude, lng: Location.Longitude})
And you set the Default property of the text input control to
lat & "," & lng
Then when you press the button the coordinates will be shown in the text input control.
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2