{"id":2550,"date":"2012-12-19T17:47:48","date_gmt":"2012-12-19T12:47:48","guid":{"rendered":"http:\/\/www.chiragmehta.info\/chirag\/?p=2550"},"modified":"2015-07-15T19:13:46","modified_gmt":"2015-07-15T14:13:46","slug":"auto-refresh-salesforce-dashboard-every-5-10-or-15-seconds-minutes-or-hours","status":"publish","type":"post","link":"https:\/\/www.chiragmehta.info\/chirag\/2012\/12\/19\/auto-refresh-salesforce-dashboard-every-5-10-or-15-seconds-minutes-or-hours\/","title":{"rendered":"Auto-Refresh Salesforce Dashboard every 5, 10 or 15 &#8230; seconds, minutes or hours &#8230;"},"content":{"rendered":"<blockquote style=\"font-size: 16px;\"><p>UPDATE (7 Oct 2014) : This is now available in form of chrome extension, Try it out @\u00a0<a target=\"_blank\" href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000q4pAEAQ\">AppExchange<\/a> or <a title=\"Auto Refresh Salesforce Dashboard\" href=\"https:\/\/chrome.google.com\/webstore\/detail\/auto-refresh-salesforce-d\/mogildlgjglckdcfclpbcbidpdkjgeeb\" target=\"_blank\">https:\/\/chrome.google.com\/webstore\/detail\/auto-refresh-salesforce-d\/mogildlgjglckdcfclpbcbidpdkjgeeb<\/a>\u00a0or\u00a0<a title=\"http:\/\/satrangtech.com\/products.htm#5\" href=\"http:\/\/satrangtech.com\/products.htm#5\" target=\"_blank\">http:\/\/satrangtech.com\/products.htm#5<\/a><\/p><\/blockquote>\n<p><span style=\"line-height: 1.6em;\">Is there a way we can have Salesforce Dashboard Auto-Refresh every few seconds (not recommended) or every x minutes or every x hours &#8230;?<\/span><\/p>\n<p>Standard Out of box functionality does allow to refresh dashboard, but the lowest level of refresh interval is DAILY or WEEKLY or MONTHLY.<\/p>\n<p>Lets say you want to have(display) a Sales Monitor always LIVE showing real time data, how do you achieve that?<\/p>\n<p>There&#8217;s no direct way of doing it, but JS (as always) comes to the rescue &#8230;<\/p>\n<ol>\n<li>Log in to Computer (which is streaming output to LIVE monitor) , open Chrome browser (will try to update the script later to make it work in all browsers)<\/li>\n<li>Login to Salesforce and Navigate to desired Dashboard<\/li>\n<li>Delete url from \u00a0address\/url bar, type (or copy+paste) below code and hit enter in address\/url bar. (Make sure javascript: at start is there, chrome does remove it when copy pasted)<br \/>\n<blockquote><p><code>javascript:function autorefresh() {document.getElementById('refreshButton').click();setTimeout(autorefresh, 5000);}autorefresh();<\/code><\/p><\/blockquote>\n<\/li>\n<li>Now do a full screen and enjoy Dashboard Live Monitor \ud83d\ude42<\/li>\n<\/ol>\n<p><strong>\u00a0Please Note:<\/strong><\/p>\n<ol>\n<li>5000 represents 5000 milli seconds ie 5 seconds, so change the same according to your requirements ie if you want it to refresh every minute change the value to 60000<\/li>\n<li>This is not a recommended way, as its a tweak and might not work in future. <em>(But as of now its working great and helps in having real time monitor of your favorite dashboard, so enjoy!)<\/em><\/li>\n<\/ol>\n<p><em>Might be this can be an admin tool or a chrome extension, will try to make one when I get time and chance \ud83d\ude42<\/em><\/p>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>UPDATE (7 Oct 2014) : This is now available in form of chrome extension, Try it out @\u00a0AppExchange or https:\/\/chrome.google.com\/webstore\/detail\/auto-refresh-salesforce-d\/mogildlgjglckdcfclpbcbidpdkjgeeb\u00a0or\u00a0http:\/\/satrangtech.com\/products.htm#5 Is there a way we can have Salesforce Dashboard Auto-Refresh every few seconds (not recommended) or every x minutes or every x hours &#8230;? Standard Out of box functionality does allow to refresh dashboard, but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[139,138,142,27,141,169,140],"class_list":["post-2550","post","type-post","status-publish","format-standard","hentry","category-salesforce","tag-auto-refresh","tag-dashboard","tag-hours","tag-javascript","tag-minutes","tag-salesforce","tag-seconds","post-preview"],"_links":{"self":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/posts\/2550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/comments?post=2550"}],"version-history":[{"count":26,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/posts\/2550\/revisions"}],"predecessor-version":[{"id":2675,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/posts\/2550\/revisions\/2675"}],"wp:attachment":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/media?parent=2550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/categories?post=2550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/tags?post=2550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}