Beast mode help with div codes

Options
MayaU_01
MayaU_01 Member
edited December 2023 in Cards, Dashboards, Stories

I have a existing beast mode -

CASE

WHEN `Actual` >= `Goal` THEN '<div style="text-align:center"><img height="30px" src="https://—-my.sharepoint.com/:i:/g/personal/ABC/EfUFaTLrpHdIvaH4PFDHXIMB0_xo9cIMKVAvSca9bxWQ8A?e=f8YHjw"></div>'

Else

'<div style="text-align:center"><img height="30px" src="https://—-my.sharepoint.com/:i:/g/personal/ABC/EQ5WbhopiOVOpNThihQYXgoBVdTrWNIKZS3jhlC9_aL_qQ?e=VIadyO"></div>'

END

However due to my orgs restrictions, i cannot use the images of this source.

I have a public source of which i can use the images.

This is the replacement of similar image from a opensource image library <i class="fa-solid fa-circle-up" style="color: #00ba00;"></i>

But I am not sure that how i can use this in my above code?

Best Answer

  • MarkSnodgrass
    Answer ✓
    Options

    The opensource library is the font awesome library. They aren't supported except for in Domo Bricks and by adding a link to their library.

    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.

Answers

  • MarkSnodgrass
    Answer ✓
    Options

    The opensource library is the font awesome library. They aren't supported except for in Domo Bricks and by adding a link to their library.

    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.