Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Button to link to Google Maps

Topic Labels: Formulas
3504 6
cancel
Showing results for 
Search instead for 
Did you mean: 
Leah_Relish
6 - Interface Innovator
6 - Interface Innovator

I am trying to create a button to link to a client’s address and am getting a “about:blank#blocked” url when I click on it.

What am I missing?

The URL Formula I am using is:

ENCODE_URL_COM (“https://google.com/map/place/”& {address})

Or is there a better way to accomplish this - it needs to be able to be clicked from the app on a mobile phone.

Thanks!

6 Replies 6

Try

"https://google.com/map/place/" & ENCODE_URL_COMPONENT({address})
Leah_Relish
6 - Interface Innovator
6 - Interface Innovator

Thank you, that worked this time. Now, can it work with a field that is a formula because I really want to use it with a Concatenated string that is referenced from another table. And when I try to use that field it won’t work.

That’s not very specific, doesn’t work how?

You mention the other field being both a formula and referenced from another table. Do you mean a Lookup field that is pulling from a Formula?

If its a Lookup field then do {Field Name} & "" to force the array to be a string.

Leah_Relish
6 - Interface Innovator
6 - Interface Innovator

Sorry for the delay. The “Open URL” is light blue and doesn’t link to anything:

image

Well your address is in fact a Lookup based on your screenshot. Did you add the &"" to the end of the field name as suggested?

"https://google.com/map/place/" & ENCODE_URL_COMPONENT({Address for Maps (fr...)} & "")
Leah_Relish
6 - Interface Innovator
6 - Interface Innovator

I ended up doing a CONCATENATE formula from 2 fields that were linked from another table and used that as the address for maps - it worked.