a formula field displaying an image works fine in internal org and partner community salesforce desktop, but it does not on sf1 in partner community


IMAGE(Photo__c, "Photo Unvailable", 200, 200)

Photo__c is a URL field, that has a following value "c.na24.content.force.com/servlet/…; for one of the records

  • any help on above would be greatly appreciated, as i am stuck now with this May 29 '15 at 7:35
  • can you post the formula? Also the generated HTML in the partner community if possible
    – NSjonas
    May 29 '15 at 7:43
  • IMAGE(Photo__c, "Photo Unvailable", 200, 200) May 29 '15 at 7:49
  • 1
    what happens when you try to visit that URL when logged into the SF1 partner portal (as a partner)?
    – NSjonas
    May 29 '15 at 7:53
  • 1
    Does the file download servlet work in S1 mobile?
    – pchittum
    May 29 '15 at 10:58

This seems to be working in my org when using ImageServer instead of FileDownload. I also have the instance stuff stripped out from the start using a relative URL (may not be necessary).

As an example, I tested a URL field with this value:


And a Formula field with this value:

IMAGE(Photo_URL__c, "Test", 300, 100)

This is working in my community in Salesforce1 as well as the standard desktop environments. Don't forget to include both image ID and org ID when using ImageServer!

  • That worked perfectly for me!
    – Maneesh
    Apr 22 '19 at 21:36

Below is the formula I used in my formula field. Make sure you store the images in Document and make it externally available. And it is working fine.

& Mobile__c 
&" &text=%22Hello!%20" 
& Name&"%22",
IMAGE('https://auromirafilms--c.documentforce.com/servlet/servlet.ImageServer?id=0152w000000d3ga&oid=00D2w000008ojm1', "none" , 40, 45), "_self")
& ""
& HYPERLINK("tel:" & Mobile__c &"", IMAGE('https://auromirafilms--c.documentforce.com/servlet/servlet.ImageServer?id=0152w000000d3gf&oid=00D2w000008ojm1', "Red ",25,35)," _self")
&" "
& HYPERLINK("sms:" & Mobile__c &"", IMAGE('https://auromirafilms--c.documentforce.com/servlet/servlet.ImageServer?id=0152w000000d3gk&oid=00D2w000008ojm1', "Red ",24,33)," _self")

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.