help with using an iframe (merge syntax issue)

Ahmed - that error message is probably one of two things.

  1. Field references are case sensitive. I’m 99% sure that the reference to contact Id needs to be “Id” rather than “id”
  2. You might also have the template component tied to a model that doesn’t have Contacts in it.

For both cases, a nice hack for troubleshooting is to put the merge fields you are trying to pass as URL parameters outslde the HTML code in your template. In this case it might be:

ID = {{{Id}}}
<iframe src="<a target="_blank" rel="nofollow" href="https://mme.eu3.visual.force.com/apex/EmailMessagesContact?id={{{id}}}&quot;" title="Link httpsmmeeu3visualforcecomapexEmailMessagesContactidid">https://mme.eu3.visual.force.com/apex/EmailMessagesContact?id={{{id}}}"</a>;  width="100%" height="500"> </iframe>

This way you can make sure your data merges are good before you go on to make sure your VF code is good.