How can I make a Clickable icon like the Google Drive icon go to a URL or website?

  • 0
  • 1
  • Question
  • Updated 8 months ago
  • Answered
Can someone let me know how I can take an image a clickable link to a website or URL address.

Example... I have documents for a file and currently I use a button in QuickBase with a URL address to my Google Drive...

I would like to use the icon as the button and have it open up another window for the URL address to my Google Drive.

Please help and thank you very much for your time.
Photo of Michael Scalera

Michael Scalera

  • 122 Points 100 badge 2x thumb

Posted 8 months ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,296 Points 50k badge 2x thumb
This generic format will work to make a hyperlink.

var text URL = "www.google.com";

var text Image = var text Image = "<img src = https://mycompany.quickbase.com/up/xxxxxxx/a/r111/e7/v0 & ">"
"<a href=" & $URL & ">" & $Image & "</a>" Replace the 111 with the Record ID# of the record holding the Image. and replace e7 with exxx where xxx is the fid # of the file attachment field
I believe that you can suffix the URL like this to get it to open in a new window

var text URL = "www.google.com target=_blank";


This would be a Rich text formula field type. ' You may find that if this is being used on a report you may need to not allow the records to be viewed or else clicking the icon will also cause the record to be viewed.
(Edited)