• liua
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

Recently come across this request from management, that they want put up the dashboard on a wall mounted monitor.

 

I have went through lots of posts regarding this topic, however the approach of using javascript cross site scripting on a visualforce page that never worked for me

until Google Developer Tools (F12) gave me something very interesting.

 

After I click Refresh button, in the Developer Tools window, under Network tab, a page file named dashboardRefresh.apexp is shown immediately.

If you click on it, under Header tab in the righthand side window, you see Request URL:https://[Domain].salesforce.com/dash/dashboardRefresh.apexp 

Inside "FormData" section in the lower paragraph, you can see id:[DashboardID]

 

If you put them together like this: https://[Domain].salesforce.com/[DashboardID] and paste into your browser, you get a page with only a line of string on it,

which a says something like below: 

{"lastRefreshRelativeTime":"Today at 12:13 PM","lastRefreshTime":"As of 19/08/2013 12:13 PM","needsUpdate":true}

 

Now if you reopen your dashboard or if you haven't close it down, just by refreshing the dashboard page, what you will see is the time showing next to the Refresh button is updated.

 

So this actually makes what the business wanted is possible and to be done in a very easy way.

Since it is only for using on a wall mounted monitor, it only requires a full-screen page pretty much all the time.

You need to two taps, with the http://[Domain].salesforce.com/[DashboardID] running kinda behind the scene when the dashboard page is on fullscreen mode.

And install a page auto refresh addon for your browser and configurate the time interval for both tabs.

 

For example

 

 

Chrome

 

Auto Refresh Plus

 

 

 

FireFox

 

Auto Refresh

 

 

 

Safari

 

Safari Tab Reloader

 

 

Note: I am not quite sure about the the possibility of having a time lag, it might be better to configruate to have the dashboard page refreshed a little bit late than the "dashboardRefresh.apexp" page.

 

 

In summary, it gives me what I wanted, and no code needed, works on most broswer as long as you can find addon does the refresh for you and

also everyone who has a credential can do it, and this is case, by having tabs openning doesn't seems affect user experience.

 

 

 

  • August 19, 2013
  • Like
  • 1

Recently come across this request from management, that they want put up the dashboard on a wall mounted monitor.

 

I have went through lots of posts regarding this topic, however the approach of using javascript cross site scripting on a visualforce page that never worked for me

until Google Developer Tools (F12) gave me something very interesting.

 

After I click Refresh button, in the Developer Tools window, under Network tab, a page file named dashboardRefresh.apexp is shown immediately.

If you click on it, under Header tab in the righthand side window, you see Request URL:https://[Domain].salesforce.com/dash/dashboardRefresh.apexp 

Inside "FormData" section in the lower paragraph, you can see id:[DashboardID]

 

If you put them together like this: https://[Domain].salesforce.com/[DashboardID] and paste into your browser, you get a page with only a line of string on it,

which a says something like below: 

{"lastRefreshRelativeTime":"Today at 12:13 PM","lastRefreshTime":"As of 19/08/2013 12:13 PM","needsUpdate":true}

 

Now if you reopen your dashboard or if you haven't close it down, just by refreshing the dashboard page, what you will see is the time showing next to the Refresh button is updated.

 

So this actually makes what the business wanted is possible and to be done in a very easy way.

Since it is only for using on a wall mounted monitor, it only requires a full-screen page pretty much all the time.

You need to two taps, with the http://[Domain].salesforce.com/[DashboardID] running kinda behind the scene when the dashboard page is on fullscreen mode.

And install a page auto refresh addon for your browser and configurate the time interval for both tabs.

 

For example

 

 

Chrome

 

Auto Refresh Plus

 

 

 

FireFox

 

Auto Refresh

 

 

 

Safari

 

Safari Tab Reloader

 

 

Note: I am not quite sure about the the possibility of having a time lag, it might be better to configruate to have the dashboard page refreshed a little bit late than the "dashboardRefresh.apexp" page.

 

 

In summary, it gives me what I wanted, and no code needed, works on most broswer as long as you can find addon does the refresh for you and

also everyone who has a credential can do it, and this is case, by having tabs openning doesn't seems affect user experience.

 

 

 

  • August 19, 2013
  • Like
  • 1

Hi Everyone,

when I try to install Eclipse Juno 4.2 with the force.com IDE I get the following error message:

 

Cannot complete the install because one or more required items could not be found.
  Software being installed: Force.com IDE 25.0.0.201206181021 (com.salesforce.ide.feature.feature.group 25.0.0.201206181021)
  Missing requirement: Force.com IDE 25.0.0.201206181021 (com.salesforce.ide.feature.feature.group 25.0.0.201206181021) requires 'org.eclipse.update.ui 0.0.0' but it could not be found

 Does anyone know how to fix this?

 

Kind regards,

 

Otto

  • July 02, 2012
  • Like
  • 0

Hi,

 

Is there any way to refresh a Dynamic Dashboard?....

 

This is an amazing feature but have to refresh them manually is pretty annoying

Thank you!:)

  • January 13, 2012
  • Like
  • 1