Page 1 of 1

Using variables in a mailto interaction

Posted: Wed Apr 27, 2022 3:33 pm
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 1732 times
Is there any way to do what I want?

Thanks

Re: Using variables in a mailto interaction

Posted: Mon May 02, 2022 7:55 am
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.

Re: Using variables in a mailto interaction

Posted: Mon May 02, 2022 8:45 am
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 496 times
data.xlsx
(8.72 KiB) Downloaded 354 times
And the resulting pdf where I can click the "@" sign, which opens MS Outlook
Report.pdf
(101.71 KiB) Downloaded 414 times
Screenshot_2.png
Screenshot_2.png (3.79 KiB) Viewed 1694 times

Re: Using variables in a mailto interaction

Posted: Mon May 02, 2022 12:11 pm
by Jennypi
Found it!
I need to use "&", not "?" in between the subject and the body :)

Re: Using variables in a mailto interaction

Posted: Mon May 02, 2022 6:37 pm
by Lech Kulikowski
Hello,

Thank you for the information.