<?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 Variables Set in Script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/88838#M14498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahh ok... so something like 'if IsPartialReload() then set variable1, etc.'? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what would be the syntax to stop the partial reload at a certain point in time (End If)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2018 07:05:22 GMT</pubDate>
    <dc:creator>benvatvandata</dc:creator>
    <dc:date>2018-06-28T07:05:22Z</dc:date>
    <item>
      <title>Partial Reload Variables Set in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/88836#M14496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a script that takes around 2 hours to fully reload, but all I want to test is a small section where various variables are being set... is there a way to do this, or do partial reloads only work for reloading table data? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 01:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/88836#M14496</guid>
      <dc:creator>benvatvandata</dc:creator>
      <dc:date>2018-06-28T01:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload Variables Set in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/88837#M14497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can have control of what is being executed during a partial reload by using the logical system function IsPartialReload():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/SystemFunctions/system-functions.htm?id=890#IsPartialReload" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/SystemFunctions/system-functions.htm?id=890#IsPartialReload"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/SystemFunctions/system-functions.h…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So any assignment and evaluation of variables will be carried out for both normal full reloads as with partial reloads. You can use IF blocks with the IsPartialReload() to control what will be done during either of the types of reloads.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 05:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/88837#M14497</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-06-28T05:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload Variables Set in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/88838#M14498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahh ok... so something like 'if IsPartialReload() then set variable1, etc.'? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what would be the syntax to stop the partial reload at a certain point in time (End If)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 07:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/88838#M14498</guid>
      <dc:creator>benvatvandata</dc:creator>
      <dc:date>2018-06-28T07:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload Variables Set in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/88839#M14499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF IsPartialReload() THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SET var1='ABC';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; LET var2 = 1+2;&lt;/P&gt;&lt;P&gt;ELSE // full reload&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; .....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; .....&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you break down your load script into sub routines then you could have something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF IsPartialReload() THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CALL Sub2&amp;nbsp;&amp;nbsp;&amp;nbsp; // called both for partial and full reload&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CALL Sub4&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Call Sub1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Call Sub2&amp;nbsp;&amp;nbsp; // called both for partial and full reload&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Call Sub3&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 07:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/88839#M14499</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-06-28T07:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload Variables Set in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/88840#M14500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, thanks. I won't be able to test this out until later, but it seems pretty straightforward... I will let you know if I have any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 13:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/88840#M14500</guid>
      <dc:creator>benvatvandata</dc:creator>
      <dc:date>2018-06-28T13:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload Variables Set in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/2039412#M1222654</link>
      <description>&lt;P&gt;Another note to add:&lt;/P&gt;
&lt;P&gt;you can also just take the code and put it in the very begining&lt;/P&gt;
&lt;P&gt;if ispartialreload() then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; set your variables&lt;/P&gt;
&lt;P&gt;exit script;&lt;/P&gt;
&lt;P&gt;end if&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this will just exist after setting the variables, and will not do anything else. all table should retain as is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 18:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-Variables-Set-in-Script/m-p/2039412#M1222654</guid>
      <dc:creator>hoangvvo</dc:creator>
      <dc:date>2023-02-17T18:05:41Z</dc:date>
    </item>
  </channel>
</rss>

