<?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>topic Re: user defined functions not working on server after upgrading to 12.20 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86231#M14144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That does not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made this simple script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;///$bnf off&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;load myfunction(a) as c, b Inline[&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;a,b&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1,2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and this function with the macro editor:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;function myfunction(a)&lt;/P&gt;&lt;P&gt;myfunction=a*-1&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working fine on the desktop and on the server with version 12.10 but not with version 12.20&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Sep 2018 11:31:05 GMT</pubDate>
    <dc:creator>hansrokers</dc:creator>
    <dc:date>2018-09-02T11:31:05Z</dc:date>
    <item>
      <title>user defined functions not working on server after upgrading to 12.20</title>
      <link>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86229#M14142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After upgrading the server to version 12.20 my user defined fuctions are not working anymore.&lt;/P&gt;&lt;P&gt;I am getting this error in the logfile:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Unexpected token: '(', expected one of: ',', ':', 'OPERATOR_PLUS', 'OPERATOR_MINUS', 'OPERATOR_MULTIPLICATION', 'OPERATOR_DIVISION', 'OPERATOR_STRING_CONCAT', ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hints ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Sep 2018 10:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86229#M14142</guid>
      <dc:creator>hansrokers</dc:creator>
      <dc:date>2018-09-02T10:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: user defined functions not working on server after upgrading to 12.20</title>
      <link>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86230#M14143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you're having the same issue as described in this thread:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/1507014#1507014" title="https://community.qlik.com/message/1507014#1507014"&gt;https://community.qlik.com/message/1507014#1507014&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So first step would be to try the solution suggested there. If that doesn't work, perhaps posting more information would be helpful towards debugging.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Sep 2018 11:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86230#M14143</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2018-09-02T11:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: user defined functions not working on server after upgrading to 12.20</title>
      <link>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86231#M14144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That does not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made this simple script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;///$bnf off&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;load myfunction(a) as c, b Inline[&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;a,b&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1,2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and this function with the macro editor:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;function myfunction(a)&lt;/P&gt;&lt;P&gt;myfunction=a*-1&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working fine on the desktop and on the server with version 12.10 but not with version 12.20&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Sep 2018 11:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86231#M14144</guid>
      <dc:creator>hansrokers</dc:creator>
      <dc:date>2018-09-02T11:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: user defined functions not working on server after upgrading to 12.20</title>
      <link>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86232#M14145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I copy-pasted your code into QlikView 12.20 SR3 and it runs without problems. Macro security is set to the defaults (Safe Mode / Only Safe Mode).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Sep 2018 11:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86232#M14145</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2018-09-02T11:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: user defined functions not working on server after upgrading to 12.20</title>
      <link>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86233#M14146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inserting &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;///$bnf off as the 1st line in my existing documents solves my problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;However above example does not work anymore doing that for both desktop and server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Strange.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;So, without &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;///$bnf off&amp;nbsp; it is not possible to use user definded functions anymore ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Sep 2018 12:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86233#M14146</guid>
      <dc:creator>hansrokers</dc:creator>
      <dc:date>2018-09-02T12:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: user defined functions not working on server after upgrading to 12.20</title>
      <link>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86234#M14147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H3&gt;Disabling BNF reload mode on the local QlikView client:&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt; Update the &lt;STRONG&gt;QV.exe&lt;/STRONG&gt;&amp;nbsp; &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;&lt;STRONG&gt;Settings.ini &lt;/STRONG&gt;&lt;/SPAN&gt;file 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;.&lt;BR /&gt;By default, &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;Settings.ini &lt;/SPAN&gt;can be found in &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;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Disabling BNF reload mode for the entire server:&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt; Update the &lt;STRONG&gt;QVB.exe&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;. &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 &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch&lt;/SPAN&gt;. &lt;BR /&gt;&lt;BR /&gt;Modify it to read: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="ckeditor_codeblock"&gt;[Settings 7] EnableBnfReload=0&lt;/PRE&gt;&lt;H3&gt;&lt;BR /&gt;&lt;STRONG&gt;Disabling BNF reload mode for individual apps:&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN&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;BR /&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;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Sep 2018 12:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/user-defined-functions-not-working-on-server-after-upgrading-to/m-p/86234#M14147</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2018-09-02T12:51:11Z</dc:date>
    </item>
  </channel>
</rss>

