<?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 QlikView: Failing reloads, macros, and BNF script reload mode in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Failing-reloads-macros-and-BNF-script-reload-mode/ta-p/1710626</link>
    <description>&lt;P&gt;Reloads and macros may fail after an upgrade from QlikView 11.20 to later versions.&lt;/P&gt;
&lt;P&gt;A complete list of symptoms include:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Expression editor may throw&amp;nbsp;an error&lt;/LI&gt;
&lt;LI&gt;Chart may show empty&lt;/LI&gt;
&lt;LI&gt;Chart may show "Incomplete visualization"&lt;/LI&gt;
&lt;LI&gt;Chart may show "Invalid dimension"&lt;/LI&gt;
&lt;LI&gt;And any other odd behavior that would mimic a change in the script (expression, set analysis, etc)&lt;/LI&gt;
&lt;LI&gt;Macros cannot be reloaded&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A new script reload mode has been introduced: &lt;STRONG&gt;BNF&lt;/STRONG&gt;. This requires scripts to be modified to match the&amp;nbsp;&lt;SPAN style="color: #c0392b;"&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/Backus-Naur-formalism.htm?q=BNF" target="_blank" rel="noopener"&gt;BACKUS-NAUR FORMALISM&lt;/A&gt;. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;BNF mode can be temporarily disabled in QlikView versions prior to November 2018 (12.30). Any later release require scripts to be correctly rewritten.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Only applicable&amp;nbsp;&lt;EM&gt;prior&amp;nbsp;&lt;/EM&gt;to 12.30:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;All the flags mentioned below are disabled in 12.30 and later.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Disabling BNF reload mode on the local QlikView client:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Update the &lt;STRONG&gt;QV.exe&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Settings.ini&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;file by adding the line&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;EnableBnfReload=0&lt;/STRONG&gt;&lt;/SPAN&gt; under the&lt;STRONG&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; [Settings 7]&lt;/SPAN&gt; &lt;/STRONG&gt;tag for the default reload setting &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;"EnableBnfReload"&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;By default, &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Settings.ini&amp;nbsp;&lt;/SPAN&gt;can be found in&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\%USER%\AppData\Roaming\QlikTech\QlikView?&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Disabling BNF reload mode for the entire server :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Update the &lt;STRONG&gt;QVB.exe&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Settings.ini &lt;/SPAN&gt;&lt;/STRONG&gt;by adding the line &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;EnableBnfReload=0&lt;/STRONG&gt;&lt;/SPAN&gt; under the&lt;STRONG&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; [Settings 7]&lt;/SPAN&gt; &lt;/STRONG&gt;tag for the default reload setting &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;"EnableBnfReload"&lt;/STRONG&gt;&lt;/SPAN&gt;.&amp;nbsp;&lt;BR /&gt;By default, the &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Settings.ini &lt;/SPAN&gt;can be found in&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch&lt;/SPAN&gt;. For more information please review&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge/How-to-find-and-modify-the-QlikView-QVB-settings-file-to-find/ta-p/1710623" target="_blank" rel="noopener"&gt;Where to find the QlikView QVB settings file&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Modify it to read:&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;[Settings 7]
EnableBnfReload=0&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Disabling BNF reload mode for individual apps:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Add the&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt; ///$bnf off &lt;/STRONG&gt;&lt;/SPAN&gt;tag at the top of the script (it must be within the first 50 characters of the script). Reload the script.&lt;/P&gt;
&lt;P&gt;It is a good idea to use the &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;///$bnf off &lt;/SPAN&gt;tag as a troubleshooting step. &amp;nbsp;See if toggling this setting in the load script will cause a change in the suspect behavior.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Nov 2021 13:52:43 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2021-11-16T13:52:43Z</dc:date>
    <item>
      <title>QlikView: Failing reloads, macros, and BNF script reload mode</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Failing-reloads-macros-and-BNF-script-reload-mode/ta-p/1710626</link>
      <description>&lt;P&gt;Reloads and macros may fail after an upgrade from QlikView 11.20 to later versions.&lt;/P&gt;
&lt;P&gt;A complete list of symptoms include:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Expression editor may throw&amp;nbsp;an error&lt;/LI&gt;
&lt;LI&gt;Chart may show empty&lt;/LI&gt;
&lt;LI&gt;Chart may show "Incomplete visualization"&lt;/LI&gt;
&lt;LI&gt;Chart may show "Invalid dimension"&lt;/LI&gt;
&lt;LI&gt;And any other odd behavior that would mimic a change in the script (expression, set analysis, etc)&lt;/LI&gt;
&lt;LI&gt;Macros cannot be reloaded&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;DIV style="margin-left: 40px;"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A new script reload mode has been introduced: &lt;STRONG&gt;BNF&lt;/STRONG&gt;. This requires scripts to be modified to match the&amp;nbsp;&lt;SPAN style="color: #c0392b;"&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/Backus-Naur-formalism.htm?q=BNF" target="_blank" rel="noopener"&gt;BACKUS-NAUR FORMALISM&lt;/A&gt;. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;BNF mode can be temporarily disabled in QlikView versions prior to November 2018 (12.30). Any later release require scripts to be correctly rewritten.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Only applicable&amp;nbsp;&lt;EM&gt;prior&amp;nbsp;&lt;/EM&gt;to 12.30:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;All the flags mentioned below are disabled in 12.30 and later.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Disabling BNF reload mode on the local QlikView client:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Update the &lt;STRONG&gt;QV.exe&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Settings.ini&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;file by adding the line&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;EnableBnfReload=0&lt;/STRONG&gt;&lt;/SPAN&gt; under the&lt;STRONG&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; [Settings 7]&lt;/SPAN&gt; &lt;/STRONG&gt;tag for the default reload setting &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;"EnableBnfReload"&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;By default, &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Settings.ini&amp;nbsp;&lt;/SPAN&gt;can be found in&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\%USER%\AppData\Roaming\QlikTech\QlikView?&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Disabling BNF reload mode for the entire server :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Update the &lt;STRONG&gt;QVB.exe&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Settings.ini &lt;/SPAN&gt;&lt;/STRONG&gt;by adding the line &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;EnableBnfReload=0&lt;/STRONG&gt;&lt;/SPAN&gt; under the&lt;STRONG&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt; [Settings 7]&lt;/SPAN&gt; &lt;/STRONG&gt;tag for the default reload setting &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;"EnableBnfReload"&lt;/STRONG&gt;&lt;/SPAN&gt;.&amp;nbsp;&lt;BR /&gt;By default, the &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Settings.ini &lt;/SPAN&gt;can be found in&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch&lt;/SPAN&gt;. For more information please review&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge/How-to-find-and-modify-the-QlikView-QVB-settings-file-to-find/ta-p/1710623" target="_blank" rel="noopener"&gt;Where to find the QlikView QVB settings file&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Modify it to read:&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;[Settings 7]
EnableBnfReload=0&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Disabling BNF reload mode for individual apps:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Add the&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt; ///$bnf off &lt;/STRONG&gt;&lt;/SPAN&gt;tag at the top of the script (it must be within the first 50 characters of the script). Reload the script.&lt;/P&gt;
&lt;P&gt;It is a good idea to use the &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;///$bnf off &lt;/SPAN&gt;tag as a troubleshooting step. &amp;nbsp;See if toggling this setting in the load script will cause a change in the suspect behavior.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 13:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Failing-reloads-macros-and-BNF-script-reload-mode/ta-p/1710626</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2021-11-16T13:52:43Z</dc:date>
    </item>
  </channel>
</rss>

