Auto-refresh Customer Service Dashboard

Hi all.

Is it possible to set up the Dashboard in CS to auto-refresh?

 

Regards,
Nils Erik

RE: Auto-refresh Customer Service Dashboard

Hi Nils,

 

Unfortunately, this is not possible.

What is the use case behind this? Is it an agent who wants this, or do you want to show it on a screen hanging on the wall? In the second option, you could create an own screen that shows some graphs and auto refreshes.

 

regards,

Niels

Av: Niels van Broekhoven 28. aug 2017

RE: Auto-refresh Customer Service Dashboard

Hi Nils Erik,

if it is to update a dashboard, e.g. on a large monitor, we have successfully installed browser plugins which refresh the entire screen. We use it to monitor our KPIs, getting the graphs from selections in CS and put together with a table using iFrames to connect to each selection.

If it is to display the standard dashboard I suggest you change the sf value to 4 to remove the menu.

....scripts/ticket.fcgi?_sf=4&action=doScreenDefinition......

There is a lot of auto refresh tools available and I do not really have a preference or recommendation, but test one for your browser choice and I am sure you will find one that works.

Av: Stein Ove Sektnan 28. aug 2017

RE: Auto-refresh Customer Service Dashboard

Hi Nils en Stein,

If you create such a screen, it is easier to put everything in a ejscript element and add a few lines.

print("<head>");
print("<meta http-equiv='refresh' content='30'>");
print("</head>");

No need for browser addons since the refresh is in the html itself.

regards,

Niels

Av: Niels van Broekhoven 28. aug 2017

RE: Auto-refresh Customer Service Dashboard

If you use a browser addon instead of adding the meta refresh in a script, you can have the refresh stop the timer if the user is inputting values.

What you don't want is to have the screen refresh while writing something.

Although, if you insert it into the dashboard only, it won't be an issue as there are no inputs in that screen.

Av: Simen Mostuen Iversen 6. sep 2017

RE: Auto-refresh Customer Service Dashboard

Hello, 

this is an old post, but it is still relevant to have a way to refresh the dashboard. 
Instead of using a browser-plugin on the client-side or creating your own dashboard, wouldnt it be possible to hook/inject a script with the meta-refresh?
If so, do anyone have any idea how to do it? 


I found this article: https://community.superoffice.com/en/content/content/customer-service/using-hook-scripts-to-slightly-alter-standard-screens/ 
But unfortunately it looks like the eventName's not longer exist in the new version of SuO(?). 
Is there a reason why eventNames is removed?  

//Eivind

Av: Eivind Johan Fasting 5. apr 2018

RE: Auto-refresh Customer Service Dashboard

Hi,

The hook-events are still supported, but by accident the comment dissapeared when moving to version 8. Perhaps we should get it back, but I'd rather create a better trigger-system for executing CRMScript for standard screens.

That being said, I don't think a hook script will work in your scenario, since you cannot add HtmlElements, just call standard functions on the ones that are there. And none of them supports setting a refresh. We have a CRMScript method, setPageRefresh, but it only works for custom screens, not standard screens such as our dashboard.

I decided to implement this as a quick feature now. You can now add a URL parameter to the dashboard screen, "refresh=x" where x is number of minutes before refresh. We decided to not allow a more frequent refresh than 1 minute to make sure this will not become a performance issue e.g. for Online. It will become a part of our next release, 8.2R06, scheduled to be released in a couple of weeks.

Sverre

Av: Sverre Hjelm 6. apr 2018

RE: Auto-refresh Customer Service Dashboard

Hi, 

thats fantastic, Sverre, cant wait to test it out!

A quick-guide on how to set/adjust the value would be great as well, so we can send it to those who have asked for this :)

//Eivind



Av: Eivind Johan Fasting 6. apr 2018

RE: Auto-refresh Customer Service Dashboard

You just add the parameter to the URL, e.g.

.../ticket.fcgi?action=mainMenu&refresh=1

Will refresh every minute.

Sverre

Av: Sverre Hjelm 6. apr 2018

RE: Auto-refresh Customer Service Dashboard

Right, that's what i understood as well. 
But how do you recommend to append this to the url? Do you suggest adding this to the screenchoser for "status": 

setVariable("url", getProgramTicket() + "?action=mainMenu&refresh=1");



Sorry if I'm being slow :D 

//Eivind


Av: Eivind Johan Fasting 6. apr 2018

RE: Auto-refresh Customer Service Dashboard

Hey Sverre, 

That is agreat feature, which will definately be used!

Niels

Av: Niels van Broekhoven 8. apr 2018