<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article How to set up Client Initiates Refresh in AJAX in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-set-up-Client-Initiates-Refresh-in-AJAX/ta-p/1714029</link>
    <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Environment:&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;This change will affect &lt;STRONG&gt;all&lt;/STRONG&gt; users of the Ajax client!&lt;BR /&gt;&lt;BR /&gt;Changes that are required:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Settings.ini&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;An additional configuration line will need to be added to the settings.ini of your QlikView Server.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;The file can be found in:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\ProgramData\QlikTech\QlikViewServer\Settings.ini&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;OL&gt;
&lt;LI&gt;Stop the QlikView Server Service. &lt;BR /&gt;If you are operating in a cluster, all nodes will have to be stopped, and every node will have its &lt;FONT face="courier new,courier"&gt;settings.ini&lt;/FONT&gt; changed.&lt;/LI&gt;
&lt;LI&gt;Take a backup of the &lt;FONT face="courier new,courier"&gt;settings.ini&lt;/FONT&gt; file&lt;/LI&gt;
&lt;LI&gt;Edit the &lt;FONT face="courier new,courier"&gt;settings.ini&lt;/FONT&gt; file by adding the line&amp;nbsp;&lt;FONT face="courier new,courier"&gt;ShowRefreshDoc=1&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;[Settings]
ShowRefreshDoc=1
[...]​&lt;/LI-CODE&gt;&lt;BR /&gt;Note: Make sure the setting is added after [Settings 7] but before any other section marker [... ]&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;QlikView Enterprise Management Console&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;In your Management Console, navigate to &lt;I&gt;System &lt;/I&gt;&amp;gt; &lt;I&gt;Setup &lt;/I&gt;&amp;gt; QlikView Server - &lt;I&gt;QVS@&lt;/I&gt;... &amp;gt; &lt;I&gt;Documents &lt;/I&gt;&amp;gt; There&amp;nbsp;&lt;I&gt;disable &lt;/I&gt;"&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Allow only one copy of document in memory&lt;/SPAN&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="System Setup Allow Only One Copy.png" style="width: 563px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56166i9784DBFD0210FFA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="System Setup Allow Only One Copy.png" alt="System Setup Allow Only One Copy.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;QlikView Desktop - *.qvw:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;Open the original document. If a Publisher is in use, this would be the &lt;I&gt;Source Document &lt;/I&gt;&lt;BR /&gt;Navigate to &lt;I&gt;Document Properties&lt;/I&gt; &amp;nbsp;&amp;gt; &lt;I&gt;Server&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;
&lt;OL&gt;
&lt;LI&gt;Set Refresh Mode to "&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Client initiates refresh. If old data not kept in server or client too old, session will be disconnected&lt;/SPAN&gt;"&lt;BR /&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;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.&lt;/LI&gt;
&lt;LI&gt;Client Refresh Initiation Mode to "&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Indicate with toolbar button&lt;/SPAN&gt;"&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;DIV style="margin-left: 80px;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Client initiates refresh.png" style="width: 479px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56167i1709FBAB609C1B0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Client initiates refresh.png" alt="Client initiates refresh.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Result&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;After these changes have been applied, a new toolbar icon will be visible across all AJAX client instances.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="margin-left: 80px;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="refresh button.png" style="width: 381px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56168iCDDCA514E7978D13/image-size/large?v=v2&amp;amp;px=999" role="button" title="refresh button.png" alt="refresh button.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 02 Jun 2021 13:01:34 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2021-06-02T13:01:34Z</dc:date>
    <item>
      <title>How to set up Client Initiates Refresh in AJAX</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-set-up-Client-Initiates-Refresh-in-AJAX/ta-p/1714029</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Environment:&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;This change will affect &lt;STRONG&gt;all&lt;/STRONG&gt; users of the Ajax client!&lt;BR /&gt;&lt;BR /&gt;Changes that are required:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Settings.ini&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;An additional configuration line will need to be added to the settings.ini of your QlikView Server.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;The file can be found in:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\ProgramData\QlikTech\QlikViewServer\Settings.ini&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;OL&gt;
&lt;LI&gt;Stop the QlikView Server Service. &lt;BR /&gt;If you are operating in a cluster, all nodes will have to be stopped, and every node will have its &lt;FONT face="courier new,courier"&gt;settings.ini&lt;/FONT&gt; changed.&lt;/LI&gt;
&lt;LI&gt;Take a backup of the &lt;FONT face="courier new,courier"&gt;settings.ini&lt;/FONT&gt; file&lt;/LI&gt;
&lt;LI&gt;Edit the &lt;FONT face="courier new,courier"&gt;settings.ini&lt;/FONT&gt; file by adding the line&amp;nbsp;&lt;FONT face="courier new,courier"&gt;ShowRefreshDoc=1&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;[Settings]
ShowRefreshDoc=1
[...]​&lt;/LI-CODE&gt;&lt;BR /&gt;Note: Make sure the setting is added after [Settings 7] but before any other section marker [... ]&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;QlikView Enterprise Management Console&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;In your Management Console, navigate to &lt;I&gt;System &lt;/I&gt;&amp;gt; &lt;I&gt;Setup &lt;/I&gt;&amp;gt; QlikView Server - &lt;I&gt;QVS@&lt;/I&gt;... &amp;gt; &lt;I&gt;Documents &lt;/I&gt;&amp;gt; There&amp;nbsp;&lt;I&gt;disable &lt;/I&gt;"&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Allow only one copy of document in memory&lt;/SPAN&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="System Setup Allow Only One Copy.png" style="width: 563px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56166i9784DBFD0210FFA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="System Setup Allow Only One Copy.png" alt="System Setup Allow Only One Copy.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;QlikView Desktop - *.qvw:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;Open the original document. If a Publisher is in use, this would be the &lt;I&gt;Source Document &lt;/I&gt;&lt;BR /&gt;Navigate to &lt;I&gt;Document Properties&lt;/I&gt; &amp;nbsp;&amp;gt; &lt;I&gt;Server&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;
&lt;OL&gt;
&lt;LI&gt;Set Refresh Mode to "&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Client initiates refresh. If old data not kept in server or client too old, session will be disconnected&lt;/SPAN&gt;"&lt;BR /&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;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.&lt;/LI&gt;
&lt;LI&gt;Client Refresh Initiation Mode to "&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Indicate with toolbar button&lt;/SPAN&gt;"&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;DIV style="margin-left: 80px;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Client initiates refresh.png" style="width: 479px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56167i1709FBAB609C1B0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Client initiates refresh.png" alt="Client initiates refresh.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Result&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;After these changes have been applied, a new toolbar icon will be visible across all AJAX client instances.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="margin-left: 80px;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="refresh button.png" style="width: 381px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56168iCDDCA514E7978D13/image-size/large?v=v2&amp;amp;px=999" role="button" title="refresh button.png" alt="refresh button.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Jun 2021 13:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-to-set-up-Client-Initiates-Refresh-in-AJAX/ta-p/1714029</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2021-06-02T13:01:34Z</dc:date>
    </item>
  </channel>
</rss>

