0

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?

2
  • Do you mean- alert image on record standard view page in a formula or as a Pop Up? Commented Dec 8, 2014 at 7:23
  • Yes in a formula Commented Dec 8, 2014 at 11:44

1 Answer 1

2

Assuming it to be a formula field, this is how you should proceed :

  1. Upload the image in static resource. Lets consider name is OwnershipImage
  2. Create a formula field on Object with below formula :

    IF( $User.Id == OwnerId ,IMAGE("/resource/OwnershipImage", "I am owner",40,600),''))

  3. 40,600 is the height and the width respectively you are looking to set for this image.

  4. You can also set the default image if you want in the Value if No part of the IF formula we used

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .