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
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 667 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