cancel
Showing results for 
Search instead for 
Did you mean: 

Export to PDF using Page Server object

Former Member
0 Kudos

Post Author: jdp

CA Forum: Other

I'm creating a website and currently have all reports exported to PDF utilizing a RAS server, no Crystal viewer. What I'd like to do is utilize a Page Server to view reports in PDF format and still not use the Crystal viewer. I can add the Viewer to the page and hide it but that seems cheesy to me. I'm trying to look through the documentation to see if there's an example of something similar but am not having much luck. Is what I'm attempting possible?

I'm running VS 2k5 with BOXI R2 client installed locally hitting a BOXI R2 SP1 server.

I posted this to the .NET forum as well but noone has anything to say.

Any feedback would be appreciated!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Post Author: Ted Ueda

CA Forum: Other

Unfortunately, there's no .NET equivalent of the COM component ReportExportControl, that would allow you to accomplish what you'd like. I've heard some people use that component in ASP.NET using Interop, but haven't tried it myself.That leaves:The cheesy method you refer to.Scheduling the report to PDF, wait till the schedule is successful, retrieve the scheduled instance and stream out to the client browser, and delete the scheduled instance. When doing this, after you schedule the report, you'd read back the SI_NEW_JOB_ID property for the report InfoObject after passing it through InfoStore.Schedule(...) to get the SI_ID for the scheduled instance.Sincerely,Ted Ueda

Answers (0)