Public Dashboard

Hi. I need to create a public dashboard.
So just a link that goes out to a dashbord that auto refreshes every few seconds.
Kind Regards

Hi mzaaiman,

These are the steps to be followed to auto refresh the dashboard every few seconds:

  1. Edit the dashboard you have created
  2. After dashboard is opened in the edited mode, click on the JS button to add the script for refresh
  3. Add the script given bellow and click on the Save button

setInterval(function(){
var locUrl;

if(window.baseUrl){
locUrl = window.baseUrl;
}else{
locUrl = parent.window.baseUrl;
}
window.location.href = locUrl+“hdi.html?dir=1463377807724/1465647380854&file=3a91fae9-6d4d-48fc-a718-83f38613198f.efw&refresh=true”;

},3000);

NOTE: When user saves the Dashboard Designer file, it creates the efw file with same name.
In above script

  1. dir = saved dashboard directory

  2. file = saved dashboard file name

  3. 3000 = on what interval dashboard should refreshed. interval is in milliseconds.

  4. Click on the Save Dashboard button.

  5. Now Dashboard will be refresh for every few seconds.

Please let us know if the above method still does not work.

Hello Team,

Using the above solution, I am not able to retain the value of the filter. It is just refreshing the component not the values. Please help.

Regards
Raunak

Hi Raunak,

Thank you for raising this concern. You can use the same steps as mentioned in the above answer until the new script to be added is:

setInterval(function(){
var locUrl;

if(window.baseUrl){
locUrl = window.baseUrl;
}else{
locUrl = parent.window.baseUrl;
}
window.location.href = locUrl+“hdi.html?dir=1463377807724/1465647380854&file=3a91fae9-6d4d-48fc-a718-83f38613198f.efw&TravelDetails_travel_type=International&Month%20Name=[Jan,Feb]&Year=2014&refresh=true”;

},3000);

Note:
Here we have passed three parameters:

  1. TravelDetails_travel_type=International
    2)Month Name=[Jan,Feb]
    3)Year=2014

Where,

TravelDetails_travel_type and Year are single select parameters, for single select parameters we can pass in the report URL as TravelDetails_travel_type=International, Year=2014 with ‘&’ separator between two parameters.

Month Name is the multiple select parameter, for multiple select parameter we have to pass parameter values in [ ] as Month Month Name=[Jan,Feb].

Thanks & Regards
Helical Insight Team