Dream. Dare. Do – that is Suyati’s work principle in a nutshell.
There are many times when we need to display an image as a custom field like when a status of a contact is changed to pending or accepted.
Though this is possible natively on force.com it is not so direct. Here’s an example which will illustrate how to display an image on/as a custom field on salesforce.com
You need to be an administrator or should have the permissions to modify Objects.
Specify the condition on which image is to be displayed. E.g. I want to display this image when my status field is set to “accepted”, therefore I write an IF condition
Replace the Record ID of your file on the highlighted code.
Now you can see the image on the page layout according to your specified formula.
Hope this helped you. Please leave a comment if you need any help regarding this post or any other force.com related issues.
More info on
About the Author
At 22, Shivanath Devinarayanan is Suyati’s youngest software developer. Another hard-core “techie”, Shiv is famous for his encyclopedic knowledge of multiple cuisines (you name it and he knows it!). And that is just the tip of the ice-berg! You want advise on the latest laptops and cell phones? The current fashion trends? Famous restaurants in and around Kerala? Shiv is the person to talk to! You can also mail him at firstname.lastname@example.org. However, his services do not come free of cost!