Solved

Set report auto-refresh via URL parameter?

Posted on 2014-09-09
1
1,609 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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

919 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now