Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Jun 29, 2022 03:03 PM
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!
Jun 29, 2022 03:54 PM
Try
"https://google.com/map/place/" & ENCODE_URL_COMPONENT({address})
Jun 29, 2022 04:26 PM
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.
Jun 29, 2022 05:07 PM
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.
Jul 06, 2022 12:32 PM
Sorry for the delay. The “Open URL” is light blue and doesn’t link to anything:
Jul 06, 2022 12:41 PM
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...)} & "")
Jul 06, 2022 12:44 PM
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.