I have a requirement to display an Alert image that I have uploaded as a static resource to the User who is viewing the record only if the User is owner of the record.
Can someone please guide me here?
I have a requirement to display an Alert image that I have uploaded as a static resource to the User who is viewing the record only if the User is owner of the record.
Can someone please guide me here?
Assuming it to be a formula field, this is how you should proceed :
Create a formula field on Object with below formula :
IF( $User.Id == OwnerId ,IMAGE("/resource/OwnershipImage", "I am owner",40,600),''))
40,600 is the height and the width respectively you are looking to set for this image.
You can also set the default image if you want in the Value if No part of the IF formula we used