HTML Code shows with output values in filter or export of the card
Hello,
I am trying to color cells in the card with HTML code. The issue is, if I filter or export the data for this card, all HTML code is showing up with the result. Is there any thing I need to add so that this code just works within beastmode? My code is
CASE WHEN `column name` = 0 THEN concat('<div style="background-color:red; color:white; margin:-20px; padding:20px">', `column name`,'</div>') ELSE `column name` END
Comments
-
Hi @User2021
There's nothing you can do as the card will interpret the beast mode but the export doesn't. I had posted an idea specifically for hyperlinks in the past but it was closed so I logged a new idea for it (https://dojo.domo.com/discussion/53947/format-as-hyperlink/p1?new=1). Typically what I would do is have a value only column and the HTML formatted column for export purposes.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**2 -
Got it! Thanks life saver @GrantSmith
0
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 470 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 193 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 174 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive