How to add a subtitle in a new window?

I am developing RDL SSRS 2008 R2 with diagram. I currently have a summary report built into this chart where, if they click on a piece of the pie, it goes directly to that subtitle. It is currently configured as an action in the series through Go to Report.

However, my client wants a new browser window to open instead, so that they can still see the original graph without restarting my report. In addition, this report requires several input parameters. I tried the "Go to URL" link and entered the URL there. But this did not help, because I could not pass my input parameters. How can i do this?

This subreport takes several parameters. I configured it as:

="javascript:void(window.open('http://evolvdb/Reports/Pages/Report.aspx?ItemPath=%2fIncoming%2fCensus_by_Date_Range2_Subreport&rs:Command=Render&startdate="+Parameters!startdate.Value+"&enddate="+Parameters!enddate.Value+"&region="+Parameters!region.Value+"&state="+Parameters!state.Value+"&office="+Parameters!office.Value+"&status="+Parameters!status.Value+"&program_hyperlink="+Fields!program_code.Value+"&funding_source_param="+Parameters!funding_source.Value+"'))"

But when I try to click this subtitle, it is not clickable.

I also tried this, but it exceeds the 255 character count:

="javascript:void(window.open('http://evolvdb/Reports/Pages/Report.aspx?ItemPath=%2fIncoming%2fCensus_by_Date_Range2_Subreport&rs:Command=Render&startdate=" & Parameters!startdate.Value & "&enddate=" & Parameters!enddate.Value & "&region=" & Parameters!region.Value & "&state=" & Parameters!state.Value & "&office=" & Parameters!office.Value & "&status=" & Parameters!status.Value & "&program_hyperlink=" & Fields!program_code.Value & "&funding_source_param=" & Parameters!funding_source.Value & "'))"

I also tried this, but it was also not pressed:

="javascript:void(window.open('http://evolvdb/Reports/Pages/Report.aspx?ItemPath=%2fIncoming%2fCensus_by_Date_Range2_Subreport&rs:Command=Render
&startdate="+Parameters!startdate.Value+"
&enddate="+Parameters!enddate.Value+"
&region="+Parameters!region.Value+"
&state="+Parameters!state.Value+"
&office="+Parameters!office.Value+"
&status="+Parameters!status.Value+"
&program_hyperlink="+Fields!program_code.Value+"
&funding_source_param="+Parameters!funding_source.Value+"'))"
+5
source share
1 answer

I am watching the last piece of code you tried, and here is my feedback:

  • The report path does not look right. Must be in formathttp://evolvdb/ReportServer/Path/To/Report&Parameters=XX
  • You cannot concatenate strings in SSRS with +and use instead &.

Example:

="javascript:void(window.open('http://evolvdb/ReportServer/Incoming%2fCensus_by_Date_Range2_Subreport&rs:Command=Render
&startdate=" & Parameters!startdate.Value & "
&enddate=" & Parameters!enddate.Value & "
&region=" & Parameters!region.Value & "
&state=" & Parameters!state.Value & "
&office=" & Parameters!office.Value & "
&status=" & Parameters!status.Value & "
&program_hyperlink=" & Fields!program_code.Value & "
&funding_source_param=" & Parameters!funding_source.Value & "'))"

SSRS - . , , , . , URL-, , URL, . , , URL-, . , " URL", , , , .

0

All Articles