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
- 7.6K All Categories
- Connect
- 917 Connectors
- 242 Workbench
- 473 Transform
- 1.8K Magic ETL
- 60 SQL DataFlows
- 445 Datasets
- 33 Visualize
- 198 Beast Mode
- 2K Charting
- 8 Variables
- 1 Automate
- 348 APIs & Domo Developer
- 82 Apps
- Workflows
- 14 Predict
- 3 Jupyter Workspaces
- 11 R & Python Tiles
- 241 Distribute
- 59 Domo Everywhere
- 241 Scheduled Reports
- 14 Manage
- 35 Governance & Security
- 19 Product Ideas
- 1.1K Ideas Exchange
- Community Forums
- 15 Getting Started
- 1 Community Member Introductions
- 49 Community News
- 18 Event Recordings
- 579 日本支部