Skip to main content

First part I need a formula that show an image in a salesforce field.   The hard part is where do I find the image and where to i put it in salesforce to be accessed by the formula? 

 

Then, I want it look at a checkbox type field. If the box is checked or true, then I want one image of a picture of a box that is checked to appear in the formula field. 

If the checkbox field is not checked or false, then I want an image of an unchecked empty box to appear in the formula field. 

 

I put it in files and libraries.   Here is the whole URL.  Would I use all this?

https://'company name'.lightning.force.com/lightning/r/ContentDocument/069PK000009XoybYAC/view

 

Since this is an if/then sort of question can if do it with just a formula field or do I need some sort of automation like a flow?

 

Thanks,

5 respuestas
  1. 15 may 2024, 02:51

    I was able to get the image in and use in static recourse.  that shows up on the salesforce record.  

     

    Now I am trying to merge this field on a email template, but it is not showing as the image.  Not working.  I am going to see it classic email templates over lightning works better.