Standard Checkbox Images
May 11, 2009 · Filed Under Configuration, salesforce.com
One of Salesforce CRM's coolest features from a "bright shiny object" standpoint (i.e. something that aids productivity but also looks flashy) is the image formula field. Jamie Grenney first wrote about this a while ago, and his pdf and sample images from the Salesforce built-in library are available on the community site.Sometimes, however, we want something simple. Sometimes we want to create a formula field that displays a simple checkbox (or an empty box). This is currently not possible, but has been suggested as a Salesforce Idea.
Until that is built into the platform, feel free to use these two images in an image formula field (storing them in the documents folder):
Or download this zip file and put it into a static resource for use in a Visualforce page.
Comments
4 Responses to “Standard Checkbox Images”
Leave a Reply
Additional comments powered by BackType



Or use the relative link “/img/checkbox_checked.gif” or “/img/checkbox_unchecked.gif” and don’t store them yourself.
And make sure you tell your users that you can’t report on this field being true or false. It’s just for display.
Great point, Scott. Do you know where we can get a list of the contents of the /img/ and /img/samples/ directories?
I don’t know how to get that. I just knew this example because I have dealt with it before. What I typically do is look around Salesforce for images I like and use them. Copying them is just fine too.
[...] keeping with the theme of checkboxes and formulas, we provide an easy way to create a checkbox formula field using Visualforce: the [...]