<?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>article How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher in Member Articles</title>
    <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/ta-p/1483754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 class="article-title"&gt;&lt;/H1&gt;&lt;DIV&gt;&lt;P&gt;To execute this tutorial you must have QlikView Server and Publisher installed and running. You need also NPrinting Server. Of course, you need related licenses.&lt;/P&gt;&lt;P&gt;In this tutorial you'll learn how to schedule the reload of a .qvw in QlikView Server and then distribute reports based on it by using NPrinting only if the reload finished successfully.&lt;/P&gt;&lt;P&gt;This is an advanced tutorial that requires a good knowledge about developing solutions using NPrinting. We'll use examples from the NPrinting Training environment.&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Configure your source documents&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103922" alt="Configure-your-source-documents.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103922_Configure-your-source-documents.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Copy SalesDemo.qvw in the Source Documents folder (for instance C:\ProgramData\QlikTech\SourceDocuments)&lt;/LI&gt;&lt;LI&gt;Log in the QMC (QlikView Management Console) and you'll see the .qvw in the "Source Documents" tab under "Documents"&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Create a QlikView Server Reload Task&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103923" alt="Create-a-QlikView-Server-Reload-Task-.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/103923_Create-a-QlikView-Server-Reload-Task-.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Click on the green "+" (plus) symbol on the upper right corner of the QMC to add a task&lt;/LI&gt;&lt;LI&gt;Insert "Sales Demo Reload" as name.&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Distribute the Reloaded Document to a Folder&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103924" alt="Distribute-the-Reloaded-Document-to-a-Folder.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/103924_Distribute-the-Reloaded-Document-to-a-Folder.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;P&gt;In the "Distribute" tab set C:\ProgramData\QlikTech\Documents as distribute folder and select "All Authenticated Users" in the drop-down menu. Use this document in the source connection of the NPrinting project.&lt;/P&gt;&lt;/DIV&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Trigger the Reload&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103925" alt="Trigger-the-Reload.png" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/103925_Trigger-the-Reload.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Open the "Triggers" tab&lt;/LI&gt;&lt;LI&gt;Create a schedule based trigger&lt;/LI&gt;&lt;LI&gt;Confirm by pressing "Apply" and try to manually run the trigger to be sure that everything is ok&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Set NPrinting Service to Accept External Requests&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103926" alt="Set-NPrinting-Service-to-Accept-External-Requests.png" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/103926_Set-NPrinting-Service-to-Accept-External-Requests.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Open the NPrinting Management Console&lt;/LI&gt;&lt;LI&gt;Enable the external requests flag&lt;/LI&gt;&lt;LI&gt;Insert the Source Folder. For instance C:\NPrintingTraining\ExternalRequestsXML&lt;/LI&gt;&lt;LI&gt;Start the NPrinting Service&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It's very important that you know the tutorial "&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-8441"&gt;How to Execute NPrinting Reports by External XML&lt;/A&gt;" Request very well.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Create the External Request File&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103927" alt="Create-the-External-Request-File.png" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/103927_Create-the-External-Request-File.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;P&gt;In the folder C:\NPrintingTraining\ExternalRequestsXML create the text file QVS.processed. The code to insert is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14476755535818763 jive_text_macro" jivemacro_uid="_14476755535818763"&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;schedules&amp;gt; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;schedule file="C:\NPrintingTraining\NPrintingFiles\NPrintingTraining.nsq" type="job" entityName="Send a Report via Email" /&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;/schedules&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="step-container"&gt;&lt;DIV class="step-instructions"&gt;&lt;BR /&gt;&lt;P&gt;This will run the job "Send a Report via Email" that must be present in the .nsq file. To create a job refer to "&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-13518"&gt;How to Create Jobs&lt;/A&gt;"&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Create the Batch File&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103928" alt="Create-the-Batch-File.png" class="jive-image image-7" src="https://community.qlik.com/legacyfs/online/103928_Create-the-Batch-File.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;P&gt;In the folder C:\NPrintingTraining\ExternalRequestsXML create the file QVS.bat with the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14476756940667373 jive_text_macro" jivemacro_uid="_14476756940667373"&gt;&lt;CODE&gt;move C:\NPrintingTraining\ExternalRequestsXML\QVS.processed C:\NPrintingTraining\ExternalRequestsXML\QVS.request&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will rename the QVS.processed file to QVS.request. When the NPrinting Server find a .request file in the External Requests folder it will execute it.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Open the External Program in QlikView Server&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103929" alt="Open-the-External-Program-in-QlikView-Server.png" class="image-8 jive-image" src="https://community.qlik.com/legacyfs/online/103929_Open-the-External-Program-in-QlikView-Server.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;OL&gt;&lt;LI&gt;Select the "System" tab&lt;/LI&gt;&lt;LI&gt;Click on "Supporting Tasks"&lt;/LI&gt;&lt;LI&gt;Activate the "External Program" folder&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Click on the green "+" (plus symbol) button on the right corner to create a new task&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Create a new Task&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103930" alt="Create-a-new-Task.png" class="image-9 jive-image" src="https://community.qlik.com/legacyfs/online/103930_Create-a-new-Task.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Set "Send NPrinting Reports" as task name&lt;/LI&gt;&lt;LI&gt;In the "Command line statement" insert C:\NPrintingTraining\ExternalRequestsXML\QVS.bat.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When activated this task will run the script we saved in QVS.bat&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Trigger the Task&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103931" alt="Trigger-the-Task.png" class="image-10 jive-image" src="https://community.qlik.com/legacyfs/online/103931_Trigger-the-Task.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Click on the green "+" (plus symbol) button to create a new trigger&lt;/LI&gt;&lt;LI&gt;In the Start the task drop-down menu select "On event from another task"&lt;/LI&gt;&lt;LI&gt;Set "successful" on Start on&lt;/LI&gt;&lt;LI&gt;On Completion of set "Sales Demo Reload"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In this way you'll trigger the task to start after the finish of the reload and only if it ended successfully. This task runs the QVS.bat file who rename QVS.processed to QVS.request so NPrinting Server starts to distribute the reports.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Nov 2015 15:58:43 GMT</pubDate>
    <dc:creator>Stefano_Dalla_Guarda</dc:creator>
    <dc:date>2015-11-04T15:58:43Z</dc:date>
    <item>
      <title>How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/ta-p/1483754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 class="article-title"&gt;&lt;/H1&gt;&lt;DIV&gt;&lt;P&gt;To execute this tutorial you must have QlikView Server and Publisher installed and running. You need also NPrinting Server. Of course, you need related licenses.&lt;/P&gt;&lt;P&gt;In this tutorial you'll learn how to schedule the reload of a .qvw in QlikView Server and then distribute reports based on it by using NPrinting only if the reload finished successfully.&lt;/P&gt;&lt;P&gt;This is an advanced tutorial that requires a good knowledge about developing solutions using NPrinting. We'll use examples from the NPrinting Training environment.&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Configure your source documents&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103922" alt="Configure-your-source-documents.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103922_Configure-your-source-documents.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Copy SalesDemo.qvw in the Source Documents folder (for instance C:\ProgramData\QlikTech\SourceDocuments)&lt;/LI&gt;&lt;LI&gt;Log in the QMC (QlikView Management Console) and you'll see the .qvw in the "Source Documents" tab under "Documents"&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Create a QlikView Server Reload Task&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103923" alt="Create-a-QlikView-Server-Reload-Task-.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/103923_Create-a-QlikView-Server-Reload-Task-.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Click on the green "+" (plus) symbol on the upper right corner of the QMC to add a task&lt;/LI&gt;&lt;LI&gt;Insert "Sales Demo Reload" as name.&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Distribute the Reloaded Document to a Folder&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103924" alt="Distribute-the-Reloaded-Document-to-a-Folder.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/103924_Distribute-the-Reloaded-Document-to-a-Folder.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;P&gt;In the "Distribute" tab set C:\ProgramData\QlikTech\Documents as distribute folder and select "All Authenticated Users" in the drop-down menu. Use this document in the source connection of the NPrinting project.&lt;/P&gt;&lt;/DIV&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Trigger the Reload&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103925" alt="Trigger-the-Reload.png" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/103925_Trigger-the-Reload.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Open the "Triggers" tab&lt;/LI&gt;&lt;LI&gt;Create a schedule based trigger&lt;/LI&gt;&lt;LI&gt;Confirm by pressing "Apply" and try to manually run the trigger to be sure that everything is ok&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Set NPrinting Service to Accept External Requests&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103926" alt="Set-NPrinting-Service-to-Accept-External-Requests.png" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/103926_Set-NPrinting-Service-to-Accept-External-Requests.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Open the NPrinting Management Console&lt;/LI&gt;&lt;LI&gt;Enable the external requests flag&lt;/LI&gt;&lt;LI&gt;Insert the Source Folder. For instance C:\NPrintingTraining\ExternalRequestsXML&lt;/LI&gt;&lt;LI&gt;Start the NPrinting Service&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It's very important that you know the tutorial "&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-8441"&gt;How to Execute NPrinting Reports by External XML&lt;/A&gt;" Request very well.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Create the External Request File&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103927" alt="Create-the-External-Request-File.png" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/103927_Create-the-External-Request-File.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;P&gt;In the folder C:\NPrintingTraining\ExternalRequestsXML create the text file QVS.processed. The code to insert is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14476755535818763 jive_text_macro" jivemacro_uid="_14476755535818763"&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;schedules&amp;gt; &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;schedule file="C:\NPrintingTraining\NPrintingFiles\NPrintingTraining.nsq" type="job" entityName="Send a Report via Email" /&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;/schedules&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="step-container"&gt;&lt;DIV class="step-instructions"&gt;&lt;BR /&gt;&lt;P&gt;This will run the job "Send a Report via Email" that must be present in the .nsq file. To create a job refer to "&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-13518"&gt;How to Create Jobs&lt;/A&gt;"&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Create the Batch File&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103928" alt="Create-the-Batch-File.png" class="jive-image image-7" src="https://community.qlik.com/legacyfs/online/103928_Create-the-Batch-File.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;P&gt;In the folder C:\NPrintingTraining\ExternalRequestsXML create the file QVS.bat with the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14476756940667373 jive_text_macro" jivemacro_uid="_14476756940667373"&gt;&lt;CODE&gt;move C:\NPrintingTraining\ExternalRequestsXML\QVS.processed C:\NPrintingTraining\ExternalRequestsXML\QVS.request&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will rename the QVS.processed file to QVS.request. When the NPrinting Server find a .request file in the External Requests folder it will execute it.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Open the External Program in QlikView Server&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103929" alt="Open-the-External-Program-in-QlikView-Server.png" class="image-8 jive-image" src="https://community.qlik.com/legacyfs/online/103929_Open-the-External-Program-in-QlikView-Server.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;OL&gt;&lt;LI&gt;Select the "System" tab&lt;/LI&gt;&lt;LI&gt;Click on "Supporting Tasks"&lt;/LI&gt;&lt;LI&gt;Activate the "External Program" folder&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Click on the green "+" (plus symbol) button on the right corner to create a new task&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Create a new Task&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103930" alt="Create-a-new-Task.png" class="image-9 jive-image" src="https://community.qlik.com/legacyfs/online/103930_Create-a-new-Task.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Set "Send NPrinting Reports" as task name&lt;/LI&gt;&lt;LI&gt;In the "Command line statement" insert C:\NPrintingTraining\ExternalRequestsXML\QVS.bat.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When activated this task will run the script we saved in QVS.bat&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="step-container"&gt;&lt;H2 class="step-title"&gt;Trigger the Task&lt;/H2&gt;&lt;DIV class="step-image-container"&gt;&lt;IMG __jive_id="103931" alt="Trigger-the-Task.png" class="image-10 jive-image" src="https://community.qlik.com/legacyfs/online/103931_Trigger-the-Task.png" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;DIV class="step-instructions"&gt;&lt;UL&gt;&lt;LI&gt;Click on the green "+" (plus symbol) button to create a new trigger&lt;/LI&gt;&lt;LI&gt;In the Start the task drop-down menu select "On event from another task"&lt;/LI&gt;&lt;LI&gt;Set "successful" on Start on&lt;/LI&gt;&lt;LI&gt;On Completion of set "Sales Demo Reload"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In this way you'll trigger the task to start after the finish of the reload and only if it ended successfully. This task runs the QVS.bat file who rename QVS.processed to QVS.request so NPrinting Server starts to distribute the reports.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 15:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/ta-p/1483754</guid>
      <dc:creator>Stefano_Dalla_Guarda</dc:creator>
      <dc:date>2015-11-04T15:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483755#M265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Good Guide! Very useful!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;I have a suggestion to make the solution even better. Instead of running the batch file with a supporting task, I created a QVW running the EXECUTE command with the same script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Then I added a variable in this QVW that will control which NPrinting document to start. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;The variable value is then controlled by the Publisher-reload job. So in the end I just have one QVW that exists in Publisher that is used for starting all my NPrinting documents. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Robert Svebeck&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 14:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483755#M265</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2015-12-18T14:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483756#M266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please elaborate your solution a little bit more. I have a similar situation and your solution looks elegant. But I am not able to completely understand your solution here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Sohail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 22:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483756#M266</guid>
      <dc:creator>sohailansari201</dc:creator>
      <dc:date>2016-03-09T22:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483757#M267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sohail, sorry for late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to write a whitepaper and post it to the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brg Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 13:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483757#M267</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2016-04-05T13:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483758#M268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your QVW idea seems very interesting. Did you get around to putting up a whitepaper for this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 10:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483758#M268</guid>
      <dc:creator>deepak_pillai</dc:creator>
      <dc:date>2016-06-02T10:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483759#M269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody of you know how to do this with QlikView 12.10 and NPrinting 17.3.&lt;/P&gt;&lt;P&gt;That would be very helpful for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 09:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483759#M269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-27T09:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483760#M270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I have some applications and their scheduling complete at 7:36 AM. And scheduling of N Printing triggers at 7:50 AM. And apps were reloaded successfully at their correct time. But the N Printing doesn't trigger at 7:50 AM. What can be the reason of this issue. Also if I manually run the N Printing task, it is working properly. But automated process is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Shivani Singhal&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 05:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483760#M270</guid>
      <dc:creator>shivani_singhal</dc:creator>
      <dc:date>2017-08-01T05:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483761#M271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Deepak&lt;/P&gt;&lt;P&gt;Not so far, as I heard it should be possible with the NPrinting Version 17.4 (June)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 11:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483761#M271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-04T11:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483762#M272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you got any solution for Distribute Reports after Successful &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;QlikView 12.10 and NPrinting 17.3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renuka S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 14:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483762#M272</guid>
      <dc:creator>renuka_sasikumar</dc:creator>
      <dc:date>2017-08-04T14:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483763#M273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Renuka&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry for the late reply. Somehow I did not see your message.&lt;/P&gt;&lt;P&gt;So far, we have installed 17.4 (June) on our Server. With 17.4 it is possible to run and stop tasks over APIs which are provided. I think it is not possible with your Version.&lt;/P&gt;&lt;P&gt;Let me know if you have any details on how we can use the APIs for this specific purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 08:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483763#M273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-30T08:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483764#M274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share example for how you did this for all NPrinting jobs in single QVW,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;it would help alot. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483764#M274</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2017-10-05T12:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Distribute Reports after Successful .qvw Reload on a QlikView Server with Publisher</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483765#M275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not implemented it yet. We try to write a powershell-script to execute it because our Servers run on Windows server 2012 R2 Standard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 12:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-Distribute-Reports-after-Successful-qvw-Reload-on-a/tac-p/1483765#M275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-09T12:33:11Z</dc:date>
    </item>
  </channel>
</rss>

