I have a display form which has a several field data which is displaying and a button on the screen, want to open the google map based on the value of the text displayed as below :
Launch("http://maps.google.com/?q="&EncodeUrl("Value(DataCardValue16.Text)) , Value(DataCardValue18.Text))"))
It open the map but does not collect the value DataCardValue16.Text for latitude and Value(DataCardValue18.Text) for longitude.
Pls. guide
Hi @MIA27,
If the lat and long are correctly entered by the user, you can actually just add them as text (no EncodeURL or value needed).
In your case it would look as follows:
Launch($"https://maps.google.com/?q={DataCardValue16.Text},{DataCardValue18.Text}");
If this solves your question, would you be so kind as to accept it as a solution.
Thanks!
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional