Automatically Refreshing Dashboards
Written by ShamrockCRM on December 19, 2008 – 9:18 pm -If your Salesforce.com Users are like most Users, they are always calling you asking why their Dashboards are incorrect. Well, it’s because they forgot to refresh the Dashboard or they do not even know how to refresh the Dashboard.
Well, I found a unique little way around this. I created a small piece of Javascript that can either be placed on everyone’s home page OR on the individual dashboards themselves. Every time the User visits the page, the code will basically CLICK THE REFRESH BUTTON FOR THEM! Great, right?
It is the simple things that make me the most happy. This little script keeps all visited Dashboards up to date all the time automatically. Let me know if you are interested in this script at all.
Related posts:
- Free Salesforce.com S-Control to Dynamically Auto Refresh Dashboards
- Modifying Salesforce.com Dates Using Javascript
- Sidebar Javascript Manipulation of Edit Pages
- Adding Google Calendar to your Salesforce Homepage
- Sales Cloud 2 Detailed Feature Descriptions
Posted in Programming, S-Controls, Salesforce.com, Web Development | 9 Comments »

By Joe Ferraro on Dec 20, 2008 | Reply
what about scheduling a dashboard refresh via the interface?
https://na2.salesforce.com/help/doc/en/dashboards_schedule_refresh.htm
By Tanner - Shamrock CRM on Dec 20, 2008 | Reply
Yeah, the scheduled dashboard refreshing and emailing is a great feature. My little script is mainly for when you want to have the Dashboards refreshed constantly as opposed to once a week. It also works best when there are a ton of dashboards used by a company and you don’t want the maintenance nightmare of having to schedule every single one of them. For this, you put one script up once and you are done.
Thanks for the comment!
By Dave Weinreich on Dec 26, 2008 | Reply
We have 27 dashboards, but seem to be able to refresh only 24 (one per hour) using standard SFDC functionality. I would like to try the code. Can we get the following functionality as user logon:
* Initiate an update of the dashboard.
* Transfer from the home page to the dashboard.
By David Gildar on Dec 28, 2008 | Reply
I like your idea. Could you please send me a copy of your Javascript for automatically refreshing Dashboards?
By Matt Bertuzzi on Feb 5, 2009 | Reply
We are on Prof Ed. If it would work, can you share the script with me?
Btw – you came up 4th on my Google search for “automatically refreshing dashboards salesforce”. Nice!
By Stephen Theriault on Mar 5, 2009 | Reply
That is a great piece of script that you have put together, and I think your right, its all about the little things.
I would def. be interested in using it if you are up for sharing.
Thanks for the post,
ST
By Wendi Russiano on Jul 8, 2009 | Reply
Hello Tanner,
This is great, I would love to have the Javascript for automatically refreshing dashboards? When you provide that to me can you please explain where on the dashboard I put it?
Thanks so much! I received your name from miss v, and I have a small project that I would like to discuss with you. I will be in touch shortly.
Thanks,
Wendi
By Dan Clegg on Sep 22, 2009 | Reply
Most definitely interested in the code. Please send. Thanks!
By Rita on Feb 10, 2010 | Reply
Hi,
Please send me the script to automatically refresh dashboards and where to place it.
Thanks in advance!
Rita