Solved

Set report auto-refresh via URL parameter?

Posted on 2014-09-09
1
1,642 Views
Last Modified: 2014-09-10
I've learned that an auto refresh rate can be set through the AutoRefresh property on a SSRS 2008 R2 report. It can be set directly as a constant, but can also be set using an expression.

Does anyone know if this AutoRefresh property can be set by appending a parameter to the report URL? I'm asking this in the context of having an application wrapper that embeds SSRS reports.

Thanks,
Jeff
0
Comment
Question by:jdallen75
1 Comment
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 40313789
As far as I know the built-in report server URL parameters do not have auto refresh implemented.  But with a little change to your report you can build it yourself.  A report has a property called AutoRefresh.  This property can be set based on a report parameter.  And a report parameter can be given a value through the report server URL.  So all you need to do is add a (possibly hidden) report parameter to your report and set it as expression for AutoRefresh.

Here's how it can be given a value through the URL:

http://YourSSRSServer/ReportServer?/SomeFolder/SomeReport&AutoRefresh=3

This assumes the report parameter is called AutoRefresh.  When implemented right it should now refresh every three seconds.

Ref Pass a Report Parameter Within a URL
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question