Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW

How to set up Client Initiates Refresh in AJAX

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

How to set up Client Initiates Refresh in AJAX

Last Update:

Jun 2, 2021 9:01:34 AM

Updated By:

Sonja_Bauernfeind

Created date:

Mar 8, 2016 9:20:35 AM

End Users may want to decide when their current session to a document refreshes to display new data. This functionality is available out of the box for the Internet Explorer Plugin and the "Open in Server.." option in the Desktop Client, however not in AJAX.

 

Environment:

QlikView 
 

Resolution:


Note: This change will affect all users of the Ajax client!

Changes that are required:

 

Settings.ini

 
An additional configuration line will need to be added to the settings.ini of your QlikView Server. 
The file can be found in: 

C:\ProgramData\QlikTech\QlikViewServer\Settings.ini

  1. Stop the QlikView Server Service.
    If you are operating in a cluster, all nodes will have to be stopped, and every node will have its settings.ini changed.
  2. Take a backup of the settings.ini file
  3. Edit the settings.ini file by adding the line ShowRefreshDoc=1  
    [Settings]
    ShowRefreshDoc=1
    [...]​

    Note: Make sure the setting is added after [Settings 7] but before any other section marker [... ]

 

QlikView Enterprise Management Console

In your Management Console, navigate to System > Setup > QlikView Server - QVS@... > Documents > There disable "Allow only one copy of document in memory"

System Setup Allow Only One Copy.png
 

QlikView Desktop - *.qvw:

Open the original document. If a Publisher is in use, this would be the Source Document
Navigate to Document Properties  > Server 

  1. Set Refresh Mode to "Client initiates refresh. If old data not kept in server or client too old, session will be disconnected"
    Note: The meaning of 'client too old' is literally that the client is too old, this is of no concern in 11.20 or later, as this refers to much earlier releases of the product.
  2. Client Refresh Initiation Mode to "Indicate with toolbar button"
     
Client initiates refresh.png

 

Result

After these changes have been applied, a new toolbar icon will be visible across all AJAX client instances. 
 
refresh button.png
Labels (1)
Contributors
Version history
Last update:
‎2021-06-02 09:01 AM
Updated by: