Refreshing Salesforce Dashboard Automatically using Jscript

When you see dashboard on your layout, as a developer or be it common user. First things comes in mind, how to auto-refresh dashboard Let...
















When you see dashboard on your layout, as a developer or be it common user. First things comes in mind, how to auto-refresh dashboard

Let's think about it, If somehow using J-script you can detect id of button on the visualforce page, you can call click() method on jscript to trigger it.

How to do it, neat and easy way explained by ChriODavis, follow him on Google plus at +Chris O Davies

Go to setup and on right side bar look for 'Home Page Components'































Open the Messages and alert shown on right side of layout  'Messages & Alerts'
















Click on 'edit' and open up window to paste the code shown here in the bottom






















Paste the code below on the window shown above in the picture


What Others Are Reading