Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Auto-Refresh a Salesforce Dashboard in Chrome with Easy Auto Refresh

Easy Auto Refresh is handy for a lot of different uses. Did you know that it can be used to auto-refresh Salesforce dashboards and reports?

Salesforce dashboards have a refresh button that you can click to reload the dashboard data, without reloading the entire web page. You can tell Easy Auto Refresh to automatically click the refresh button with a couple of easy steps. Here's a video that demonstrates it:



How to Auto-Refresh a Salesforce Dashboard

  1. Download Easy Auto Refresh.
  2. Navigate to your Salesforce dashboard page that you'd like to auto-refresh or auto-reload.
  3. Find the "Refresh" button on the page. Right-click on the refresh button and select "Inspect element".
  4. In the Developer Tools window that displays, look at the highlighted piece of HTML (that represents your button) and find the "id=" fragment. Double-click the id inside the quotes and copy it. For example: fctRefreshBtn
  5. Open Easy Auto Refresh and click Advanced Options.
  6. Checkmark the option "Refresh by clicking link or button".
  7. In the textbox, paste the id that you copied from the steps above.
  8. In the front of the id, include a # sign. For example: #fctRefreshBtn
  9. You should see a green checkmark next to the textbox. This indicates that the id entered is valid.
  10. Click Start to begin refreshing. Easy Auto Refresh will automatically click the button when the countdown timer reaches zero.


On some Salesforce dashboards, the refresh button may be inside an iframe on the web page. In this case, the command that you enter in the textbox will be a little longer. It will look something like this (all on one line):

document.querySelector('#ext-comp-1006').contentDocument .getElementsByClassName('refreshListButton')[0]

For details on this, see this post and follow the 3rd example, "Example 3 - IFrame". Have fun!


This post first appeared on Ksoft Newsletter - News, Tips, Downloads To Make Y, please read the originial post: here

Share the post

Auto-Refresh a Salesforce Dashboard in Chrome with Easy Auto Refresh

×

Subscribe to Ksoft Newsletter - News, Tips, Downloads To Make Y

Get updates delivered right to your inbox!

Thank you for your subscription

×