|Summary:||Quick guide on how to refresh the View of Active QlikView Documents on Access Point, ensuring that users are looking at the most recent data|
|Article Type:||Troubleshooting / Support|
|Related Product:||This article relates to the following products:
The frequency of reload of a QlikView document is dependent upon the rate of change in underlying data and on Business users’ need to be as up to date as possible. When users need to see the most recent data, there are a few mechanisms to consider to ensure that they are seeing the most up to date view. Here are two scenarios where this may happen:
1. Users have QV Doc open for long periods
Where a user relies on the QlikView App and you do not want their session interrupted or for them having to consider refreshing the view.
2. The QV App is Displayed
The QV App is displayed on a screen which has no user interaction and it is necessary to keep the display up to date.
Scenario 1 – Solution
This options configures a push from the server to the document. An amendment is made to the document’s properties before publishing on Access Point. This means that the displayed document will get updated every time the document is reloaded.
In QlikView desktop with document open > Settings > Document Properties > Server tab
Set “Refresh Mode when Document is updated on Server” to “Server performs reload automatically without client action”. And check the box “Enable Dynamics Data Update”.
Scenario 2 – Solution
This option enforces a refresh of the document pulling from the document to the server on a set time interval.
- Make a copy of opendoc.htm in the folder:
- Name the new file “opendoc_refresh.htm”
- Edit the new file and add the script below into the <Head></Head> section.
As per screenshot below:
Note: The timeout is in milliseconds
- Open QMC
Go to Documents tab > User Docs > Select relevant QV Doc > Server tab > Availability sub tab >
Note: If you are running Publisher it is the source document that should be amended.
- In the URL box for “Full Browser and Small Device Version” add:
- Apply to save changes