<?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: Partial_reload_issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814088#M287183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you try try section access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can apply that to a ROLE table. We generally use that technique for sheet authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2014 09:38:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-11T09:38:24Z</dc:date>
    <item>
      <title>Partial_reload_issue</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814087#M287182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a piece of code for the identification of QlikView_admins:&lt;/P&gt;&lt;P&gt;- In each of my apps, there are some objects relevant for development, but not for the users (like some rulers and textboxes with comments)&lt;/P&gt;&lt;P&gt;=&amp;gt; These are all governed by a variable v_Dev (a binary variable, it is 1 or -1)&lt;/P&gt;&lt;P&gt;=&amp;gt; This variable is switched by a button&lt;/P&gt;&lt;P&gt;=&amp;gt; That button, in turn, is visible only to the admins - currently two people.&lt;/P&gt;&lt;P&gt;=&amp;gt; To avoid great effort at a later time, I have, instead of hard-coding our names in that button, listed them in an Excel_file&lt;/P&gt;&lt;P&gt;=&amp;gt; Since OSUSER() will normally not work (all the reloads are done by the server, by a server_user, not by us), I have developed&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a piece of code for partial_reload that we can then run and QlikViiew will identify us as admins and the button will appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem in that code. I will post it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Erst mal werden aus einer Excel-Übersicht, die zu dem Zweck angelegt wurde,&lt;BR /&gt; // die Namen aller QlikView-Admins geladen, denen die entwicklungsrelevanten&lt;BR /&gt; // Objekte zur Verfügung stehen sollen.&lt;BR /&gt; // Diese Tabellen werden bei einem Partial_Reload geladen (mit Ctrl+Shift+R),&lt;BR /&gt; // bei dem sonst nichts geladen oder verändert wird.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; Developers_pre:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OSU&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OSUSER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OSU&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 1, 0) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Admin_logged_on&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Recno&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Line_ID_Admin&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Domain&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Upper&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Domain&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;amp; '\' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Lower&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OSU&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; [\\rgb1app202\production\99_Resources\Wichtig_nicht_löschen\QlikView_Admins.xl*]&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Names);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; Admin_identification:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Admin_logged_on&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Admin_yn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Developers_pre&lt;BR /&gt; ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;DROP&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Developers_pre;&lt;BR /&gt; &lt;BR /&gt; That's it. The tables are loaded also when the reload is done as usual on the server, but then that resulting field &amp;gt; &lt;STRONG&gt;Admin_yn&lt;/STRONG&gt; &amp;lt; is 0, so that button is not visible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Due to that keyword "Replace", I would expect that when I open the app and trigger a partial_reload (Ctrl+Shift+R), both the tables will be replaced&lt;BR /&gt; by new ones and the field will be 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Instead I suddenly get 2 records in that resulting table !?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Please give me some advice here. It's the 1st time that I work with the partial_reload.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;DataNibbler &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 09:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814087#M287182</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-12-11T09:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Partial_reload_issue</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814088#M287183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you try try section access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can apply that to a ROLE table. We generally use that technique for sheet authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 09:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814088#M287183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-11T09:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Partial_reload_issue</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814089#M287184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;I might consider that when I see this doesn't work.&lt;/P&gt;&lt;P&gt;At the moment, though, it does seem to work. Seems QlikView couldn't deal with a preceding_load for that partial_reload.&lt;/P&gt;&lt;P&gt;I have just incorporated that additional code into the primary LOAD, making it a bit more complicated, and I have added a FIRST 1 statement to my last LOAD to make sure only one record is loaded.&lt;/P&gt;&lt;P&gt;Let's see.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 09:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814089#M287184</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-12-11T09:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Partial_reload_issue</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814090#M287185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;O_O - there comes trouble again ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested in in a small template_app and I thought it was all right - but there I had an EXIT SCRIPT right after that piece of code.&lt;/P&gt;&lt;P&gt;Now I am testing that code in one of our live_apps. There is no EXIT here, but in a partial_reload, QlikView should only reload the tables with the keywords &amp;gt;Add&amp;lt; or &amp;gt;Replace&amp;lt; in front of the LOAD, no?&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; Well, it seems QlikView is instead trying to reload it all and of course there are errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: The place in the script where an error occurs is a FOR...NEXT loop. It's in our master_calendar, so I am positively sure that it works. I don't know why the partial_reload encompasses this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 10:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814090#M287185</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-12-11T10:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Partial_reload_issue</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814091#M287186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I have tried something else:&lt;/P&gt;&lt;P&gt;Since it seems that QlikView, in spite of the partial_reload, tries to execute the rest of the script, I wanted to introduce an IF_THEN clause with an EXIT command. I tried to use the flag_field &amp;gt;&amp;gt; Admin_yn &amp;lt;&amp;lt; I had just created to avoid starting all over again by using OSUSER() - but that did not work at all. QlikView ignored it and just went straight up to the regular EXIT tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 11:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814091#M287186</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-12-11T11:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Partial_reload_issue</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814092#M287187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I give it up - for now.&lt;/P&gt;&lt;P&gt;The partial_reload just does not seem to work reliably and as expected: I was expecting QlikView to reload ONLY the tables I had marked for a partial_reload, nothing else.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; Instead, QlikView seems to load these tables, then skip some others and then try to execute some loop or JOIN - it seems the partial_reload is not strictly limited to the LOAD_statements flagged with the keywords &amp;gt;Add&amp;lt; and &amp;gt;Replace&amp;lt; as is stated in the manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 13:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-reload-issue/m-p/814092#M287187</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-12-11T13:36:36Z</dc:date>
    </item>
  </channel>
</rss>

