I'm having difficulty figuring out how to form an email link that includes the record number in the body of the email. When I add the &ART__ID=12345, it thinks it's a new parameter.
I want a mail link that looks like this:
<a href="mailto:?subject=Check out this article: Modern Art Reviews&body= The article can be found here:
http://www.myserver.com/View_btn=View&ART__ID=10452'">Email to a friend</a>
I'm using this code:
<a href="mailto:?subject=Check out this article: ' & CLIP(ART:Title) & '&body= The article can be found here: ' & CLIP(p_web.RequestReferer) & '/View_btn=View&ART__ID=' & p_web.GSV('ART:ID') & '">Email to a friend</a>
The link looks like this on the web page:
<a href="mailto:?subject=Check out this article: Modern Art Reviews&body= The article can be found here:
http://www.myserver.com/View_btn=View&ART__ID=10452'">Email to a friend</a>
My problem is that the URL requires the "&" symbol between the View_btn=View and the ART__ID= parameters. But by adding the & sign, it doesn't think the ID is still part of the body of the email. I've also tried the ascii equivalent: &38;, but the same problem happens. Has anyone dealt with adding email links that include the record ID?