Domo IDEAs Conference - Beast Modes - Images and Hyperlinks


Greetings! This is another post highlighting a beast mode from my Domo IDEAs conference session. This one covers how to display images and make hyperlinks.
Problem:
How do I display an image or create a hyperlink to allow users to click on?
Solution:
We can utilize some HTML tags to display a hyperlink or an image. In this example An image is being used as the clickable object for the hyperlink. The target="_blank"
tells the browser to open the link in a new window instead of the current window. `User ID` contains the ID going to the part of the URL. `Profile Picture URL` contains the URL of the image to display.
-- Author: -- Created: -- Last Modified: -- Description: Utilizes some HTML code to: -- 1. Make a link using <A HREF...>...</A> -- 2. Display an image using <IMG SRC=...> -- Uses CONCAT to join the entire HTML code string together -- Notes: -- This is only useable in an HTML table type card CONCAT('<A HREF="https://domo-dojo.domo.com/up/', `User ID`, '" target="_blank"><IMG SRC="', `Profile Picture URL`, '"></A>')
Note:
This is allowed within a Mega Table or an HTML table.
Only http, https and mailto protocols are supported, any other protocol will be removed.
For more information refer to this Knowledge base article:
**Did this solve your problem? Accept it as a solution!**
Comments
-
Here's a link to the video of my session outlining this beast mode: https://www.youtube.com/watch?v=gO8OLpsAk4M&index=6
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Categories
- 10.6K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 477 Transform
- 1.8K Magic ETL
- 69 SQL DataFlows
- 478 Datasets
- 218 Visualize
- 260 Beast Mode
- 2.1K Charting
- 12 Variables
- 19 Automate
- 356 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 249 Distribute
- 65 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 191 Product Ideas
- 1.2K Ideas Exchange
- 11 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive