Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.

Convertir URL

Hello, I ask for your help regarding the Appsheet,
let me explain:
In my database a Sheets spreadsheet, I have a column 'Place ID Lieu' which the establishment ID, in another column I have this function:
=IF(R3>"";HYPERTEXT_LINK("https://www.google.com/maps/search/?api=1&query=Google&query_place_id="&R3;B3);"")

to get :
https://www.google.com/maps/search/?api=1&query=Google&query_place_id=ChIJZw5H3Xjr0BIRUpBAi9-RQZ0

In AppSheet :
I tried this kind of conversion to make it a URL
HYPERLINK(
CONCATENATE(
"https://www.google.com/maps/search/?api=1&query=Google&query_place_id=",
ENCODEURL([Place ID Place])
),
("Search for " & [Link] & " on Google")
)
But that does nothing. I specify that I start with AppSheet

Thank you for your help

Solved Solved
0 14 937
2 ACCEPTED SOLUTIONS

Yes, and for the location this is as simple also: just provide the address, the Google Maps button will be available automatically.


@Aurelien wrote:

Also:

Since it seems you wish to use Google Maps, if you have the address you can select the type Address. That will automatically create the action for opening a map view, with two action buttons: one for seeing the map, the other one for seeing the route to the destination.

Aurelien_1-1676990071173.png


Moreover, if the address is empty, then the google maps button won't be displayed.


@AVista wrote:

What if I have an empty Place ID? not to display the button


You may want to add a show_if condition to your column: 

ISNOTBLANK([Place ID])

Aurelien_1-1677137819802.png

 

Aurelien_0-1677137799869.png

Aurelien_2-1677137842221.png

For reference:

Conditionally show or hide a column value (Show_If) - AppSheet Help

 

View solution in original post

Aurelien
Google Developer Expert
Google Developer Expert

What if you use your AppSheet mobile app directly?

Unfortunately I can't help you more on the topic of syncing phone and computer, this is beyond my AppSheet skills here. I will stop on this topic, if you got the answer you were looking for, this is good from my point of view.

View solution in original post

14 REPLIES 14
Top Labels in this Space