<?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: Reload only when QVD is updated with new data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Reload-only-when-QVD-is-updated-with-new-data/m-p/1877881#M72371</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/Conditional-relaod-based-on-QVD-update-time/ta-p/1764531" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/Conditional-relaod-based-on-QVD-update-time/ta-p/1764531&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;can u try above link,may be u will get some idea...&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jan 2022 09:27:20 GMT</pubDate>
    <dc:creator>anat</dc:creator>
    <dc:date>2022-01-06T09:27:20Z</dc:date>
    <item>
      <title>Reload only when QVD is updated with new data</title>
      <link>https://community.qlik.com/t5/App-Development/Reload-only-when-QVD-is-updated-with-new-data/m-p/1877871#M72369</link>
      <description>&lt;P&gt;Hello Community!&lt;/P&gt;
&lt;P&gt;I have one question, it is silly but I don't know how to solve it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically I have one app, which consumes some QVDs that is updated with new data only once per month (The update varies each month). So it's not smart to have a trigger to reload every day if new data is available only once per month, also is not possible to have a trigger in a specific day, because we don't know exactly when the qvds are refreshed.&lt;/P&gt;
&lt;P&gt;But I want to automate it anyway, because we have plenty apps like this, and reload manually every month is not smart neither.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone knows the best way I can achieve this scenario? I have created a internal script to check the date from fact, if it's equal with today(), if yes it reloads, if not exit script;&lt;BR /&gt;But the problem is when the condition is false, I don't load anything and my dashboard remains empty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you everyone for any suggestion &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 09:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reload-only-when-QVD-is-updated-with-new-data/m-p/1877871#M72369</guid>
      <dc:creator>LorenaGSaar</dc:creator>
      <dc:date>2022-01-06T09:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reload only when QVD is updated with new data</title>
      <link>https://community.qlik.com/t5/App-Development/Reload-only-when-QVD-is-updated-with-new-data/m-p/1877881#M72371</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/Conditional-relaod-based-on-QVD-update-time/ta-p/1764531" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/Conditional-relaod-based-on-QVD-update-time/ta-p/1764531&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;can u try above link,may be u will get some idea...&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 09:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reload-only-when-QVD-is-updated-with-new-data/m-p/1877881#M72371</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-01-06T09:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reload only when QVD is updated with new data</title>
      <link>https://community.qlik.com/t5/App-Development/Reload-only-when-QVD-is-updated-with-new-data/m-p/1878307#M72407</link>
      <description>&lt;P&gt;Hello Anat, thank you for the link.&lt;/P&gt;
&lt;P&gt;But in this case I would need to force an error when my condition is not true, in order to keep all data in my app?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 08:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reload-only-when-QVD-is-updated-with-new-data/m-p/1878307#M72407</guid>
      <dc:creator>LorenaGSaar</dc:creator>
      <dc:date>2022-01-07T08:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reload only when QVD is updated with new data</title>
      <link>https://community.qlik.com/t5/App-Development/Reload-only-when-QVD-is-updated-with-new-data/m-p/1878330#M72408</link>
      <description>&lt;P&gt;Just write something like this:&lt;/P&gt;
&lt;P&gt;IF Match(Today(), 10) and Date(FileTime('xyc.qvd')) &amp;lt; Today() THEN //if todays day is 10 and the xyz.qvd is not updated yet update the xyz.qvd and store it&lt;/P&gt;
&lt;P&gt;ODBC CONNECT TO DATABASE;&lt;/P&gt;
&lt;P&gt;Table:&lt;BR /&gt;SQL SELECT fields&lt;BR /&gt;FROM abc.dbo.sqltable&lt;BR /&gt;;&lt;BR /&gt;STORE Table into [xyz.qvd];&lt;/P&gt;
&lt;P&gt;ENDIF&lt;/P&gt;
&lt;P&gt;//after that just load the xyz.qvd. Old or new version &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Table:&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM&lt;BR /&gt;[xyz.qvd]&lt;BR /&gt;(qvd);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 09:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reload-only-when-QVD-is-updated-with-new-data/m-p/1878330#M72408</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2022-01-07T09:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reload only when QVD is updated with new data</title>
      <link>https://community.qlik.com/t5/App-Development/Reload-only-when-QVD-is-updated-with-new-data/m-p/1878422#M72413</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Auto Reloading Qlik Sense Apps- Steps&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN style="font-weight: 400;"&gt;ETL Can create a text file every data depending upon the frequency of reload as per business requirement.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN style="font-weight: 400;"&gt;&amp;nbsp;Schedule task in qmc to check whether text file is available on share path&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN style="font-weight: 400;"&gt;&amp;nbsp;If file not exists then app will create a text file&amp;nbsp; SALES_PERFORMANCE_2018_12_28.TXT&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN style="font-weight: 400;"&gt;If file exists for current date then it will terminate the execution and task will get failed.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN style="font-weight: 400;"&gt;After &amp;nbsp;completing step3 qmc will &amp;nbsp;check text file and will start qlik task trigger based on this task another task can be created using dependency in qlik.&lt;/SPAN&gt;&lt;SPAN style="font-weight: 400;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vikasmahajan_0-1641557339912.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69793i37D41D475F51E379/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vikasmahajan_0-1641557339912.png" alt="vikasmahajan_0-1641557339912.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps you . Sorry I don't have license now other wise i could able to post scripts as well for your reference.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Vikas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 12:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reload-only-when-QVD-is-updated-with-new-data/m-p/1878422#M72413</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2022-01-07T12:21:14Z</dc:date>
    </item>
  </channel>
</rss>

