Using variables in a mailto interaction

Stimulsoft Reports.WEB discussion
Post Reply
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Using variables in a mailto interaction

Post by Jennypi »

Hi,

In the properties of a text component, I added an hypertext interaction.
I defined the hypertext like this:
"mailto:blabla@ggg.com?subject={Lists.ListName}?body=Date%20de%20semis:%20{Date_de_semis_ou_d_envoi}%20Consigne%20sachets:%20{Consigne_sachets}"
I would like to use variables that I request from users to the subject and the body of the email.
Unfortunately, it is not working so well as it would not recognize the "?body" following the first variable.
Screenshot_2.png
Screenshot_2.png (4.25 KiB) Viewed 690 times
Is there any way to do what I want?

Thanks
Lech Kulikowski
Posts: 6265
Joined: Tue Mar 20, 2018 5:34 am

Re: Using variables in a mailto interaction

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue.
Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Using variables in a mailto interaction

Post by Jennypi »

Thank you for your reply.
Here is a sample report with a data file.

Thank you for your help!
Report.mrt
(42.12 KiB) Downloaded 111 times
data.xlsx
(8.72 KiB) Downloaded 100 times
And the resulting pdf where I can click the "@" sign, which opens MS Outlook
Report.pdf
(101.71 KiB) Downloaded 95 times
Screenshot_2.png
Screenshot_2.png (3.79 KiB) Viewed 652 times
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: Using variables in a mailto interaction

Post by Jennypi »

Found it!
I need to use "&", not "?" in between the subject and the body :)
Lech Kulikowski
Posts: 6265
Joined: Tue Mar 20, 2018 5:34 am

Re: Using variables in a mailto interaction

Post by Lech Kulikowski »

Hello,

Thank you for the information.
Post Reply