<?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 Only reload QVF if condition is met, cancel if not in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Only-reload-QVF-if-condition-is-met-cancel-if-not/m-p/1144686#M5482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-style: inherit; font-size: 26px; font-family: inherit; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Hi,&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Hoping someone can answer this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Have a QVF that pulls data from a SQL Datawarehouse (which gets populated from other sources via SSIS).&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;The document reloads via the QMC once an hour. However sometimes the Datawarehouse load from SSIS is still in progress when the QMC reload kicks off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;This is causing partial data to appear in the QVF.&amp;nbsp; Ideally we want the QVF to only reload the data if the SSIS job has completed. If it hasn't completed, abort the reload and leave the QVW as is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Ram Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Sep 2016 10:40:10 GMT</pubDate>
    <dc:creator>ramkrishna86</dc:creator>
    <dc:date>2016-09-05T10:40:10Z</dc:date>
    <item>
      <title>Only reload QVF if condition is met, cancel if not</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Only-reload-QVF-if-condition-is-met-cancel-if-not/m-p/1144686#M5482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-style: inherit; font-size: 26px; font-family: inherit; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Hi,&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Hoping someone can answer this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Have a QVF that pulls data from a SQL Datawarehouse (which gets populated from other sources via SSIS).&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;The document reloads via the QMC once an hour. However sometimes the Datawarehouse load from SSIS is still in progress when the QMC reload kicks off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;This is causing partial data to appear in the QVF.&amp;nbsp; Ideally we want the QVF to only reload the data if the SSIS job has completed. If it hasn't completed, abort the reload and leave the QVW as is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Ram Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2016 10:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Only-reload-QVF-if-condition-is-met-cancel-if-not/m-p/1144686#M5482</guid>
      <dc:creator>ramkrishna86</dc:creator>
      <dc:date>2016-09-05T10:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Only reload QVF if condition is met, cancel if not</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Only-reload-QVF-if-condition-is-met-cancel-if-not/m-p/1144687#M5483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One approach could be to update another table/variable/parameter after finishing the SSIS to DWH transfer. This parameter could be read from the qvf and if it isn't newer as by the last execution: &lt;STRONG&gt;exit script;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way might be to implement an intermediate step which is loading from the DWH and the final load-step from the qvf checked those number of records or the max. timestamp or similar to decide to load the updated data or to cancel this task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2016 11:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Only-reload-QVF-if-condition-is-met-cancel-if-not/m-p/1144687#M5483</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-09-05T11:12:28Z</dc:date>
    </item>
  </channel>
</rss>

