Why is my beastmode to bring in Salesforce Profile Photos not working?
I'm using the html code referenced in this Domo Article:
Our salesforce rep profile photos are being brought in as a url starting with "https" into a user dataset. I'm just not understanding what is wrong with the beastmode that it's not bring up the photo when I place the beastmode as a column on a table:
CONCAT('<img height="20px" src=',Url for medium profile photo
,'">','')
Best Answer
-
Currently the table is the only one that will work. If you want you can get more control of the visualiation utilizing a Domo Brick which would support circular images.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Answers
-
I think you may be missing a double quote after src=
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
@GrantSmith AMAZING! Thank you. Do you know if there is a way to display the photos in a circle rather than a square? I tried this beastmode but it's not changing the shape:
CONCAT('<img style="border-radius:50%" height="20px" src="',
Photo
,'">','')0 -
and is the table chart the only chart in which this beast mode will work?
0 -
Currently the table is the only one that will work. If you want you can get more control of the visualiation utilizing a Domo Brick which would support circular images.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Hi Folks,
Having the same problem using this code:
CASE WHENClient
= 'CLIENT_NAME' THEN
CONCAT(' <img src="','[SHAREPOINT_LINK','" style="width:128px;height:128px"></>') END
Is this because I'm using Sharepoint to host the image? If so where is a better place to host images for Domo?
All support is appreciated,
Kind regards0
Categories
- All Categories
- Product Ideas
- 2K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 661 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 819 Beast Mode
- Visualize
- 2.6K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 22 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 282 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 9 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive