You need to sign in to do that
Don't have an account?
Unable to see image formula merge field in email template
Hello,
I've built a formula field on a custom object that creates a QR code via the Google API. If I put the formula field on a page layout, it works perfectly.
When I include the field in an email template that is sent out via workflow, the image is not shown. In fact, if I look in the source code for the message, the image URL is completely different:
How the formula field is built:
IMAGE('https://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=http://eventmasterb-developer-edition.na14.force.com/events/targetx_eventsb__markEventAttendance?cid='& TargetX_Eventsb__Contact__r.Id&'&eid='&TargetX_Eventsb__OrgEvent__r.Id, 'QR Code')
Example of formula field on actual record:
Example of image in email source code after being sent via workflow:
<img src="http://na15.salesforce.com/servlet/servlet.ImageServer?oid=00Di0000000XnNU&esid=018i0000000P5Kf">
Any idea why Salesforce is creating an image internally for this, and not just rendering the img src the way it is in the layout?
Christopher Gioconda
gioconda@targetx.com
Hello,
Please make sure the image is in public folder, under documents tab and have atleast read only access to all user.
Refer: https://help.salesforce.com/apex/HTViewSolution?urlname=How-to-use-images-in-formula-fields&language=en_US
I think you're misunderstanding the issue - the image isn't hosted through Salesforce; it's using the IMAGE function in a formula to pull in the image onto the record. I am not manually creating an image for each QR code.