Auto Refresh SSRS Reports in SharePoint 2010

Thank you Brian Keay for your post

http://briankeaybi.wordpress.com/2011/02/21/auto-refresh-ssrs-in-sharepoint-2010/

If you happened to find this post and were pulling your hair head like I was when you copied and pasted Brian’s code snippet and it did not work, try deleting the single and double quotations and retyping them in, stupid fonts. If you did not find Brian’s post I have included his code snippet below

<script type=”text/javascript”>
// The time out value is set to be 60,000 milli-seconds (or 60 seconds)
setTimeout(‘document.location=document.location’ ,60000);
</script>

Couple additional things to note.

1. you can save this script into a text file, store in a document library and point your content editor -> content link to the txt file

2. you can also type the script directly into the Content Editor HTML Editor, click in the content editor in edit page mode. You will see the Content Editor Ribbons. On the Format Text Ribbon there is a Markup section where you will find an option to edit HTML, type the script there.

Wait 60 seconds and voila, refresh

A giant thanks again to Brian

Advertisements

One thought on “Auto Refresh SSRS Reports in SharePoint 2010

  1. Thats great, glad I could help.

    Very frustrating that you need to fudge around like this, but at least there is a semi-straightforward workaround !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s