<?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: Automatically reload qvw in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Automatically-reload-qvw/m-p/896723#M312086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to reload qvw file from QMC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2015 10:14:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-17T10:14:56Z</dc:date>
    <item>
      <title>Automatically reload qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-reload-qvw/m-p/896721#M312084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i have a txt file that contain the string "OK".&amp;nbsp; &lt;/P&gt;&lt;P&gt;I need to reload automatically my application when this file exists and&amp;nbsp; contains "OK".&lt;/P&gt;&lt;P&gt;How can i do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Francesca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 09:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-reload-qvw/m-p/896721#M312084</guid>
      <dc:creator />
      <dc:date>2015-07-17T09:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically reload qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-reload-qvw/m-p/896722#M312085</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;Do you want to reload the qvw file from QMC or desktop client?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where you want to reload the file from matters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know where you want to automate the reload from &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 10:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-reload-qvw/m-p/896722#M312085</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-07-17T10:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically reload qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-reload-qvw/m-p/896723#M312086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to reload qvw file from QMC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 10:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-reload-qvw/m-p/896723#M312086</guid>
      <dc:creator />
      <dc:date>2015-07-17T10:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically reload qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-reload-qvw/m-p/896724#M312087</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;You can reload it from QMC through &lt;STRONG&gt;Trigger &lt;/STRONG&gt; option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Documents--Source Documents--select your application--Triggers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then choose whenever you want to reload the application automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second thing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarding the string contains OK...Please explain bit more whether its a field contains OK as string or some thing else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 10:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-reload-qvw/m-p/896724#M312087</guid>
      <dc:creator>ajaykumar1</dc:creator>
      <dc:date>2015-07-17T10:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically reload qvw</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-reload-qvw/m-p/896725#M312088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Create a QVW file and name it as say 'ReloadYesNo.QVW'.&lt;/P&gt;&lt;P&gt;2. Create a variable in Variable Overview and name it as vLastFileTimeStamp and enter 1 as it's definition.&lt;/P&gt;&lt;P&gt;3. Edit script and paste the below script. Assuming that your .txt file name is ReloadYesNo.txt and it contains OK (just OK) if reload should happen. Otherwise contains something else. Save and reload it.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;IF Num('$(vLastFileTimeStamp)')&amp;lt; FileTime('ReloadYesNo.txt') then&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LET vLastFileTimeStamp = FileTime('ReloadYesNo.txt');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;OK:&lt;/P&gt;
&lt;P&gt;LOAD @1 as F1 //Assuming the file contains just the word OK&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;ReloadYesNo.txt&lt;/P&gt;
&lt;P&gt;(txt, codepage is 1252, explicit labels, delimiter is '\t', msq);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF Peek('F1')='OK' then &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE Reload should be started;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load * From Tab1; //Just to make the reload fail&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ELSE &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Load * From Tab1; //Just to make the reload fail&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ENDIF&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;4. In QMC, create a task (Say ReloadYesNo) for it and schedule it to reload for every 5 minutes (depending on your requirement).&lt;/P&gt;&lt;P&gt;5. Make the actual QVW task to be executed whenever ReloadYesNo task reload is successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have access to QMC now to test this. Please do through testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KKR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 11:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-reload-qvw/m-p/896725#M312088</guid>
      <dc:creator />
      <dc:date>2015-07-17T11:20:43Z</dc:date>
    </item>
  </channel>
</rss>

