You need to reference the SSRS reportserver not, the SSRS portal address
Something like this
http://myServerName/reportserver/?%2FMY%20FOLDER%2FMY%20REPORT%20NAME&myParameterName=1234
This will open The report in the MY FOLDER
folder called MY REPORT NAME
and pass in 1234
to the parameter called myParameterName
I find it easier to build these as expressions in the URL expression. Here's an exmaple
=Globals.ReportServerUrl
+ "?/myFolder/my+Report+Name"
+ "&CountryID=" + cStr(Fields!CountryID.Value)
+ "&CategoryID=" + cStr(Fields!CategoryID.Value)
+ "&RecordedPeriodID=" + cStr(Parameters!PeriodID.Value)
+ "&rc:Parameters=Collapsed"
Here we want to to open the "my report name" report from "my folder" and pass in 3 parameters, finally I set a property to hide the parameters panel.
Note: I used the built-in SSRS Globals!ReportServerUrl
variable to get the server name so it works on development and production servers with no modification required.
Wrap this in you javascript window.open and it should work.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…