cancel
Showing results for 
Search instead for 
Did you mean: 

Report file name as parameter

Former Member
0 Kudos
49

There's probably a simple answer to this but I can't figure it out...

I have made a jsp-page to view my report using CR4E's Create Viewer JSP wizard. Instead of hard-coded report file name, I'm taking the name from URL parameter like this

myviewer.jsp?report=myreport.rpt

The report shows fine until I click any of the controls (next page, print, export, etc.) in HTML-viewer. This seems to run some javascript code that calls the myviewer.jsp again, but loses all URL parameters! How can I preserve those parameters?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Page navigation with the viewer works by post-back to the page where you've defined the viewer - the viewer interprets the postback GET parameters for the action required.

This means that the ReportSource must be available for every postback - usually, it's stored in HTTP Session.

Check out the following sample codes:

http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_web_samples.zip.asp

Sincerely,

Ted Ueda

Answers (0)