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
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 666 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 145 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive