Instead of displaying a Crystal Report on screen, ReCrystallize Server can save the Crystal Reports output to a disk file.

To save a report add the

saveTo=

parameter to the URL or include it as a field with POSTing a form to ReCrystallize Server’s ViewReport.aspx page.

Include a file name and optional path as the value for the saveTo parameter. If a filename with no path is used, the file will be saved to the default Reports root folder. If a relative path is included as in

ViewReport.aspx?reportName=library.rpt&author=Shakespeare&saveTo=\output\library.pdf

the report will be saved to the specified folder beneath the default Reports folder. An absolute path including a local drive letter or UNC location may be used.

Use the exportfmt value to specify the report output format. If no exportfmt is specified along with saveTo, PDF will be used as the default.

As with exporting a report, any required Crystal Reports parameter values must be included in the request.

ReCrystallize Server will display a success message if the file is saved.


To redirect the browser to another web address, include redirect=.

ViewReport.aspx?reportName=library.rpt&author=Shakespeare&saveTo=\output\library.pdf&redirect=http://www.recrystallize.com
Last modified: 13 November 2021

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment