Passthrough variables to email feature
Posted: Fri Nov 06, 2015 8:04 pm
Hello,
I need to passthrough variables to the email feature (e.g. recipient, subject, ...). Unfortunately this seems not be possible.
For example:
/stimulsoft/index.php?stimulsoft_client_key=ViewerFx&stimulsoft_report_key=test&subject=MySubject&recipient=somebody@yahoo.com&from=&message=
Ideally passed through to EmailDialog and sti_send_email_report.
Also EmailDialog should be switchable off/on via a parameter via URL, too. Global config.xml is not ideal.
Or the option to specify the filename of 'config.xml' via a parameter - to link to different sets of settings
index.php - sti_send_email_report should receive the mail parameters. Currently my test workaround is to use 'report_key' to identify my report and set email parameters. But this is very limited.
Thanks,
Andreas
I need to passthrough variables to the email feature (e.g. recipient, subject, ...). Unfortunately this seems not be possible.
For example:
/stimulsoft/index.php?stimulsoft_client_key=ViewerFx&stimulsoft_report_key=test&subject=MySubject&recipient=somebody@yahoo.com&from=&message=
Ideally passed through to EmailDialog and sti_send_email_report.
Also EmailDialog should be switchable off/on via a parameter via URL, too. Global config.xml is not ideal.
Or the option to specify the filename of 'config.xml' via a parameter - to link to different sets of settings
index.php - sti_send_email_report should receive the mail parameters. Currently my test workaround is to use 'report_key' to identify my report and set email parameters. But this is very limited.
Thanks,
Andreas