Discussions
CDO Field Merge in Email to display Image which is text field value in CDO Field

Hi,
There is case where we are receiving the product image URL in one of the text field of custom Object in Eloqua
And that image URL we wants to display over the email
I tried with Field merge ,but instead of displaying the image its displaying the URL.
Can you please advise how we can achieve this?
Comments
-
Hi,
I've not done this, but is it possible to use an HTML content block, and merge the field into there?
<img src="{{field-merge}}" alt="Amazing image">
Like I said, not tried it before, but it might work.
Good luck,
Phil
-
@Phil_Boyden :I tried that way but its not working in Eloqua the image is not getting displayed
-
We have used <a href="http:fubar.com/{{field-merge}}"> and have had sucesses
it looks like this
In the past one could pull this code from the plan-text version, but that no longer appears to be the case. In the above example change "mergefield" to the eloqau name for your merge field
<span class=eloquaemail>mergefieldname</span>
I do beleive if you do it this way it should work for the enitre url, but I've not attempted that. normally I will fall back to the dynamic module to deal with this sort of thing.
The img src is after all a URL, so it is best to treat it as such.
More info here: https://community.oracle.com/topliners/discussion/4404204/fix-urls-in-field-merges
-
Hi @ppilotti: Thank you it works for me