Solved

Set report auto-refresh via URL parameter?

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

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…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
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.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

840 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