<?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: Data-driven NPrinting distribution in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117512#M10366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the QMC/QlikView Publisher, you can set up tasks like the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a task to run the QlikView dashboard every 15 minutes&lt;/LI&gt;&lt;LI&gt;Create a second task to run the NPrinting task on successful completion of the previous task&lt;UL&gt;&lt;LI&gt;The NPrinting task should have a condition on it that checks if the variable is set to 1&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this setup, the NPrinting task will run each time the document runs, but the condition will keep it from actually sending the report out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2016 18:22:52 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2016-08-16T18:22:52Z</dc:date>
    <item>
      <title>Data-driven NPrinting distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117511#M10365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to set up a distribution from NPrinting that sends exactly once when a variable in my qvw is set to 1 (which happens when a certain data condition is met in the document). I don't care what time the distribution goes out, just as soon as the variable equals 1. Is there a way to set this up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially, I want the NPrinting task to refresh the qlikview document every 15 minutes, check that variable, and if it's 1, send the distribution and stop refreshing after that. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 17:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117511#M10365</guid>
      <dc:creator />
      <dc:date>2016-08-16T17:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Data-driven NPrinting distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117512#M10366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the QMC/QlikView Publisher, you can set up tasks like the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a task to run the QlikView dashboard every 15 minutes&lt;/LI&gt;&lt;LI&gt;Create a second task to run the NPrinting task on successful completion of the previous task&lt;UL&gt;&lt;LI&gt;The NPrinting task should have a condition on it that checks if the variable is set to 1&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this setup, the NPrinting task will run each time the document runs, but the condition will keep it from actually sending the report out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 18:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117512#M10366</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2016-08-16T18:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data-driven NPrinting distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117513#M10367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand, how does a QMC control an NPrinting task? And how would this setup stop after one successful distribution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 21:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117513#M10367</guid>
      <dc:creator />
      <dc:date>2016-08-16T21:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Data-driven NPrinting distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117514#M10368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Won't the second task continue to run every 15 minutes after the variable is set to 1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be useful to know how often the task should run. If it's maximum once a day I suggest adding a second control, say a variable &lt;EM&gt;vDateRun&lt;/EM&gt; which holds the value of the date when the original variable &lt;EM&gt;vRun&lt;/EM&gt; is set to 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pseudo code something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;IF vRun = 1 AND vDateRun = Today() THEN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; vRun = 0 // NPrinting will not send out the reports because that's already been done today&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;END IF&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;IF vRun = 1 and&amp;nbsp; vDateRun &amp;lt;&amp;gt; Today() THEN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; vDateRun = Today() // NPrinting will send out the reports this iteration&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; // Next iteration the previous IF will be satisfied as long at the vDateRun is still today&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;END IF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;HTH - Daniel.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 22:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117514#M10368</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2016-08-16T22:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Data-driven NPrinting distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117515#M10369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bradley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicole is probably referring to this: &lt;A href="https://community.qlik.com/docs/DOC-13501"&gt;How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH - Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 22:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117515#M10369</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2016-08-16T22:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data-driven NPrinting distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117516#M10370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Won't the second task continue to run every 15 minutes after the variable is set to 1?&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good catch, Daniel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Bradley - You can either have one variable that has your check + Daniel's and use that as a condition.&amp;nbsp; Or have two variables (yours and Daniel's) and have two conditions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 17:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117516#M10370</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2016-08-17T17:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data-driven NPrinting distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117517#M10371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I was referring to.&amp;nbsp; I wasn't aware that there was documentation about it, so thanks for sharing!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 17:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117517#M10371</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2016-08-17T17:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Data-driven NPrinting distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117518#M10372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We found an answer to this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We set up a new task/report that saves off an Excel sheet with a single value (null if complete, 1 if not.) We added that Excel sheet into the script as a one cell data island.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Job now has three tasks&lt;/P&gt;&lt;P&gt;1 - Reload&lt;/P&gt;&lt;P&gt;2 - Run the report with a condition set that if this new field has values, send the report&lt;/P&gt;&lt;P&gt;3 - Run the new report that updates the Excel sheet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way the report sends up to and including one time where everything is refreshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 20:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Data-driven-NPrinting-distribution/m-p/1117518#M10372</guid>
      <dc:creator>mikecrengland</dc:creator>
      <dc:date>2016-10-03T20:33:32Z</dc:date>
    </item>
  </channel>
</rss>

