0
votes

I'm trying to pass a parameter to an SSRS report via a URL. This is so I can extend the functionality of one of my other reports.

I've read many things on SO and forums but nothing has worked so far.

This is my URL http://servername/ReportServer/Pages/Report.aspx?ItemPath=%2fSSRS_New2%2fStatusHistory&enrolmentNumber=11111

When the URL is entered, the report page will show, however the parameter will not be populated.

I've tried:

I'm purposefully only testing the URL at this stage and will implement into another report if I can get it working.

I'm now very confused as to what I can do. Can anyone please give any guidance on the correct way to write the URL?

2

2 Answers

0
votes

Here is the same code. u should map parameters with "&" operator. and use report server full url.

="javascript:void(window.open('https://servername/ReportServer/Pages/ReportViewer.aspx?%2fMR_Enrollment_Everyone%2fGPS_Application_Notes&rs:Command=Render&VendorID=" & VendorID.Value & "','_blank','height=500,width=500,toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes ,modal=yes'))"

0
votes
http://<servername>/reportservername?/<pathname>/<reportname>&rs:Command=Render&<parameter>=<value>