Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Auto refresh of Qlikview document in Browser

Hi,

Is there a way to Auto refresh/reload the qlikview document (in browser)? Currently I am displaying the qlikview document on TV screen. The server is reloaded automatically in 15 minutes interval but the webpage remains the same until a manual refresh is triggered.

Thanks in Advance

9 Replies
Miguel_Angel_Baeyens

Hi,

Using the IE Plugin you should be able to refresh (not reload) the document if a new version has been reloaded in Server and it is configured properly. To make sure, open the document, go to the Settings menu, Server, and set Refresh Mode to "Server performs refresh automatically without client action" and click "Enable Push from Server" and "Enable Dynamic Data Update".

Hope that helps.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

Not applicable
Author

Hi Miguel,

Thanks !!!

I am using Firefox browser ! Do I need to install any plugins to enable the refresh.

Regards

Miguel_Angel_Baeyens

Hi,

No, you don't. The Plugin client only works in Internet Explorer (it's basically a reduced version of the Desktop). But you may see your connection lost if there is new data available.

Hope that helps.

Not applicable
Author

Miguel,

My browser is not automatically refreshing on its own.  In order to initate the refresh, I need to click on the dashboard page.  I can click anywhere and it will issue a reload of the data.  If I do not click on the dashboard, the data will never be refreshed.  It's like I need to reactive the mouse on the screen?

Document Settings:

Client Refresh Initiation Mode:

     Just do it but tell the user it is happening  ( I also tried Just do it)

Enable Push from Server

     Checked

Enable Dynamic Data Update

      Checked

IE Settings

Allow META REFRESH

       Enabled

Any ideas?

Thanks,

Rob CAse

Not applicable
Author

Hi Rob Case,

Did u get the solution for above question. Pls help me out if you have the answer.

Thanks,

Kind Regards,

Nash

Not applicable
Author

Hi, did you manage to solve this issue? We have multiple monitors, and need to wrap the models in iframes+refresh but automatic refresh would be much better. I have these settings, but it still won't work:

In QMC:

System>Setup>QVS>Performance>Allow Document Auto Load

System>Setup>QVS>Security>Enable server push over HTTP tunnels

qvw Document Properties>Server>Enable Push from Server

qvw Document Properties>Server>Enable Dynamic Data Update

I have tested both with IE plugin and without, but it does not seem to work.

EDIT: Actually, it looks like it works using the IE plugin. I turned off AJAX in QMC:

Documents>Source documents>The Task of the qvw>Server>Availability>Access method>Only check IE Client

I had to install the plugin, you can get the URL in Accesspoint by ticking off here in QMC:

System>Setup>QWS>AccessPoint>Settings>Show link

Now the document reloads automatically when the task to publish is run.

Only issue is that I can not start the model directly from an URL, I have to open Accesspoint and click on the model. This is not going to work on a public monitor, as it reboots every night so I have to go and click in accesspoint every morning

EDIT 2:

Using this URL, the document opens up directly:

http://qvs/QvPlugin/opendoc.htm?document=IT%2FMonitor.qvw

In addition, I got this receipe from the always helpful bWise support:

1. In QlikView Management Console (QMC), navigate to System > Setup > QlikView Server > QVS@servername > Documents and check the box “Allow only one copy of document in memory”

2. Exit the QMC and open the QVW you want to enable Graceful Refresh on (this needs to be done for each and every document you want to enable this feature on), in QlikView Desktop.

3. Open the Document Properties.

4. Navigate to Server tab.

5. Pull down second dropdown bar (Client Refresh Initiation Mode), select “Just Do It”

6. Pull down the first dropdown bar (Refresh mode when Document is Updated on Server) and select “Server performs refresh automatically without client interaction”.

7. Save qvw. Graceful Refresh is now enabled.

EDIT3:

Since we have a "Document Timeout" (under QMC>System>QVS>Documents) set to 120 minutes, it seems like the document actually stops to refresh after this time. What we had to do, is to wrap the URL into an HTML IFRAME that reloads itself every two hours. This will keep the document alive:

<html>

<head>

<meta HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

<meta http-equiv="refresh" content="7200">

</head>

<body style="overflow:hidden; background-color:#FFFFFF; margin:0;padding:0px; height:100%" scroll="no">

<iframe src="http://qlikt/QvPlugin/opendoc.htm?document=IT%2FMonitor.qvw" scrolling="no" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 100%;">

</iframe>

</body>

</html>

Put the above text in an HTML file and start IE in kiosk mode like this:

"C:\Program Files (x86)\Internet Explorer\iexplore.exe" -k c:\temp\htmlfilabove.html

Stig

marjan_it
Creator III
Creator III

It does not work in access point.

I add an extension and check all of this tik but it does not work in access point automaticly. we should clik on the desktop to refresh the file.

ccsimo16
Contributor III
Contributor III

Hi

I have managed to get my QVW refresh automatically, and works OK on a single screen. If I connect another web page on a different PC to the dashboard, when the refresh happens the web page says it has lost connection to server. it does reconnect.

Is there a way to stop the lost connection to serve message from appearing.

Thanks

Chris

p_verkooijen
Partner - Specialist II
Partner - Specialist II

I know it is an old post, I only got this working creating a secondary opendoc.htm for this document

 

  • Go to C:\Program Files\QlikView\Server\QlikViewClients\QlikViewAjax 
  • Create a copy of opendoc.htm and name it opendoc_refresh.htm
  • Add the following code between <head> </head>
  •  <script type="text/javascript">
    function doRefresh()
    {
    qva.Send();
    }
    window.setInterval("doRefresh()",30000); // Interval to refresh in ms, 60000 ms = 1 minute.
    </script> 
  •  
Set this alternate opendoc_refresh.htm in the UserDocument Availability settings.
  • /QvAjaxZfc/opendoc_refresh.htm
 
  • p_verkooijen_2-1731494534928.png

 

 

 

The document will open using this alternate opendoc_refresh.htm and the refresh will be triggered every 30 sec.