0

I have a formula field that makes use of IMAGE function to show an image from a url. It goes like this:

HYPERLINK(URL__c , IMAGE( URL__c , "Photo unavailable", 400, 400))

The image itself doesn't show in Salesforce.com page but clicking the image navigates to the page outside of SF showing the image. The actual image used to show the image on the SF page (btw this is on a Standard page layout, not VF or Apex). So I can assume the link is correct if I'm navigated there when I click.

The URL__c field is a dynamic formula field that creates the URL based on the record selected.

Why would this all of a sudden not work? I.E. Why did it stop showing me the image in SF page layout for the selected record? This is something that has been working in production for over a year.

This is what show in Production: enter image description here

This is what shows in sandbox. enter image description here

Formulas in Prod and Sandbox are identical. URL__c are built exactly the same.

6
  • Where is it happening? Sandbox? Does anybody enable the Hyperlink critical update? Do you see and error in browser console/developer tool? – Avijit Chakraborty May 25 '17 at 19:37
  • Oddly enough this is happening in Prod. Sandbox the image shows. – Jay Bolt May 25 '17 at 19:38
  • Is the URL also pointing to same image at same location? – Nitish Singhal May 26 '17 at 1:49
  • You have mentioned, "Formulas in Prod and Sandbox are identical". Is it same or identical? If possible please provide both the URLs. – Saroj Bera May 26 '17 at 5:29
  • @SarojBera yes the url is pointing to the same image in the same location. The formula in prod is identical to the formula in sandbox. This is something that has be in production and working for over a year but all of a sudden the production org has stopped showing the image. – Jay Bolt May 30 '17 at 12:14
0

Working now. Not sure why. Not sure why it stopped though so....

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.