<?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: Anyone knows how to run script without reloading document? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230844#M620761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried with 'Partial Reload'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2017 06:18:03 GMT</pubDate>
    <dc:creator>settu_periasamy</dc:creator>
    <dc:date>2017-02-21T06:18:03Z</dc:date>
    <item>
      <title>Anyone knows how to run script without reloading document?</title>
      <link>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230843#M620760</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 wanna run script like startup script used for setting initial parameter such as version no., pre-defined parameters, and so on. What Im doing now is to reload document to invoke the my intended script. Unfortunately, my recently existing temp tables have been gone every time I open document because there is trigger to reload document (I have already set condition which is NOT allowed to load data again) so that I wanna only execute the script to set up initial parameters. I don't wanna load data full data coz I take much time when starting up document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 18:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230843#M620760</guid>
      <dc:creator />
      <dc:date>2017-02-20T18:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone knows how to run script without reloading document?</title>
      <link>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230844#M620761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried with 'Partial Reload'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 06:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230844#M620761</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2017-02-21T06:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone knows how to run script without reloading document?</title>
      <link>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230845#M620762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I did. I did try. but, it doesn't work mate..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 07:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230845#M620762</guid>
      <dc:creator />
      <dc:date>2017-02-21T07:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone knows how to run script without reloading document?</title>
      <link>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230846#M620763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Try some thing like below&lt;/P&gt;&lt;P&gt;***********************************************&lt;/P&gt;&lt;P&gt;IF isPartialLoad() THEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Your Script to use initial parameters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Noramal tables &lt;/P&gt;&lt;P&gt;**********************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then do a Partial Reload so that only your script will be executed &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 07:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230846#M620763</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2017-02-21T07:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone knows how to run script without reloading document?</title>
      <link>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230847#M620764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, &lt;SPAN style="font-size: 13.3333px;"&gt;well. let me try then get back the result.&lt;/SPAN&gt; The thing is my data in the temp table have always gone when getting the Reloading document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your helping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 09:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230847#M620764</guid>
      <dc:creator />
      <dc:date>2017-02-21T09:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone knows how to run script without reloading document?</title>
      <link>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230848#M620765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;In that case please share your app or Script, it will be easy for us to identify the issue &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 09:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230848#M620765</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2017-02-21T09:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone knows how to run script without reloading document?</title>
      <link>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230849#M620766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;// Loading variable when starting application up ONLY.&lt;/P&gt;&lt;P&gt;If vStartLoadingVariables =&amp;nbsp; 1 AND&amp;nbsp; IsPartialReload() Then // 1 = True&amp;nbsp; (enable Generator function)&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(Include=helper\LoadVariables.qvs);&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; Load variables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL Log("Loaded configuration variables");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vStartLoadingVariables = 0; // disable loading next time (allow loading just when only openning document )&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;LoadVariables.qvs&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;$(Include=helper\qvc.qvs);&lt;/P&gt;&lt;P&gt;LET LET_VARIABLES = -1;&lt;/P&gt;&lt;P&gt;LET SET_VARIABLES = 0;&lt;/P&gt;&lt;P&gt;///////////////////////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;// Load variables are doing the following&lt;/P&gt;&lt;P&gt;// 1. Loading variables from MS Excel with column name (VarName,Value) into the temp table named Variables.&lt;/P&gt;&lt;P&gt;// 2. Creating the internal variable.&lt;/P&gt;&lt;P&gt;// 3. Dropping the temp table named Variables. &lt;/P&gt;&lt;P&gt;///////////////////////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;TRACE *******************************;&lt;/P&gt;&lt;P&gt;TRACE *** Start loading configuration variables ***;&lt;/P&gt;&lt;P&gt;TRACE *******************************;&lt;/P&gt;&lt;P&gt;Variables:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VarName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;&lt;P&gt;FROM [.\Configuration\ConfigurationVariables.xls] &lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [AppConfiguration$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL Qvc.PopulateVariables ('Variables', LET_VARIABLES);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If (len(TableNumber('Variables')) &amp;gt; 0) Then&lt;/P&gt;&lt;P&gt;&amp;nbsp; DROP Table Variables;&lt;/P&gt;&lt;P&gt;&amp;nbsp; TRACE *** Completely DROP Table Variables ***;&lt;/P&gt;&lt;P&gt;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;TRACE **********************************;&lt;/P&gt;&lt;P&gt;TRACE *** Finished loading configuration variables ***;&lt;/P&gt;&lt;P&gt;TRACE **********************************;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am in doubt is the reason why the Variables table doesn't exist in the mean time it's executing. Even though, this script always creates this table. Because of none of this table, that's why it displays this error screen below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N.B. :&lt;/P&gt;&lt;P&gt;1. This part of code occurred error is in the &lt;SPAN style="font-size: 13.3333px;"&gt;$(Include=helper\qvc.qvs) file. You are able to ignore this code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2. I&lt;SPAN style="font-size: 13.3333px;"&gt;nstead of full reload data making all tables gone,&lt;/SPAN&gt; the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;isPartialLoad() &lt;/SPAN&gt;function you told helps me solve the issue about data lost. Unfortunately, there is this kind of error screen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="22-02-2017 0-00-21 AM.png" class="jive-image image-1" src="/legacyfs/online/153979_22-02-2017 0-00-21 AM.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank very much indeed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 17:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Anyone-knows-how-to-run-script-without-reloading-document/m-p/1230849#M620766</guid>
      <dc:creator />
      <dc:date>2017-02-21T17:14:32Z</dc:date>
    </item>
  </channel>
</rss>

