Dynamic Image for Users
Hi everyone - we're trying to create a page where a user can log in and see their own personal dashboard. Is it possible to add an image for this user to the dashboard that is dynamic in that it shows the image from a url that is for their user id?
The url values would come from a domo data set that maps to the user id.
0
Answers
-
yes, you can use the HTML table card to display this. You would create a beast mode that has the necessary HTML code to display the image, like this:
CONCAT('<img src="',`Profile Picture URL`,'" style="width:128px;height:128px"></>')
In this example, the full URL to the image is in the field called Profile Picture URL, but if you just have the ID, you can build the URL in the concatenation as well.
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.2 -
Thank you Mark! I appreciate the response.
0
Categories
- 7.7K All Categories
- 7 Connect
- 922 Connectors
- 245 Workbench
- 477 Transform
- 1.8K Magic ETL
- 60 SQL DataFlows
- 446 Datasets
- 57 Visualize
- 205 Beast Mode
- 2.1K Charting
- 8 Variables
- 4 Automate
- 349 APIs & Domo Developer
- 84 Apps
- Workflows
- 15 Predict
- 3 Jupyter Workspaces
- 12 R & Python Tiles
- 242 Distribute
- 60 Domo Everywhere
- 241 Scheduled Reports
- 15 Manage
- 36 Governance & Security
- 43 Product Ideas
- 1.1K Ideas Exchange
- 2 Community Forums
- 15 Getting Started
- 2 Community Member Introductions
- 50 Community News
- 18 Event Recordings
- 576 日本支部