Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add parameter to report URL: Parameter is missing a value

I'm trying to insert an SSRS report in a webpart in SharePoint. The report is a TFS Sprint Burndown chart. For this, I need to generate the report using the following URL:

http://vhacpadev04/ReportServer/Pages/ReportViewer.aspx?/TfsReports/VAPARS+Team/Sprint+Burndown&rs:Command=Render&rs:Format=HTML4.0&rc:Parameters=true&rp:SprintParam=Release+2%5CSprint+1

The project name in TFS is VAPARS Team. The sprint I'm trying to run this chart for is Release 2 Sprint 1.

Typically, the ReportViewer will prompt me for this parameter. In this case, SprintParam:

enter image description here

However, when I hide this (using &rc:Parameters=false), then I get the following error:

Missing parameter value message

And here's the parameter properties for this report on SSRS:

Parameter list

I'm not sure how to format the URL to pass the correct sprint parameter. Any suggestions?

like image 801
beaudetious Avatar asked Jan 25 '26 19:01

beaudetious


1 Answers

You need to provide a default value for SprintParam (even though you are overriding that in the URL) or you need to remove the dependency on the parameter if it is used for cascading parameters. The report thinks it cannot run without this information, even though you are supplying it in the URL. StartDateParam and EndDateParam are query based so I'm guessing those have a dependency on the SprintParam. That's what is causing the error to display and your URL parameters are ignored.

like image 118
Stacia Avatar answered Jan 29 '26 18:01

Stacia



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!