<?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: Is there an NPrinting API command line client? in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Is-there-an-NPrinting-API-command-line-client/m-p/1362646#M18017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not a developer, so I asked the help of a colleague here who suggest:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;It depends on the library you want to use. For example, if you use jquery, you need only to add the parameter xhrFields.withCredentials to the call. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Code sample:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$.ajax({&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; type: "GET",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; url: service_url,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; dataType: "json",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; xhrFields: {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; withCredentials: true&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; },&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; error: function(XMLHttpRequest, textStatus, errorThrown) { ajaxError(XMLHttpRequest, textStatus, errorThrown); },&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; success: function(json) { DoSomething(json); }&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;});&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;&lt;P&gt;---------------------------------------------&lt;/P&gt;&lt;P&gt;When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2017 08:56:54 GMT</pubDate>
    <dc:creator>Ruggero_Piccoli</dc:creator>
    <dc:date>2017-09-14T08:56:54Z</dc:date>
    <item>
      <title>Is there an NPrinting API command line client?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Is-there-an-NPrinting-API-command-line-client/m-p/1362643#M18014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have NPrinting 17.4.1 (June 2017) and the API looks good.&amp;nbsp; We want to use it to trigger an NPrinting task after the source dashboard has been reloaded in Publisher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a Windows command line client for the NPrinting API, for at least the TaskExecutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/nprinting/June2017/APIs/NP%20API/#TaskExecutions" title="http://help.qlik.com/en-US/nprinting/June2017/APIs/NP%20API/#TaskExecutions"&gt;Qlik NPrinting API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, I can write my own, but would prefer to not reinvent the wheel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 17:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Is-there-an-NPrinting-API-command-line-client/m-p/1362643#M18014</guid>
      <dc:creator>kevinpintokpa</dc:creator>
      <dc:date>2017-08-07T17:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an NPrinting API command line client?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Is-there-an-NPrinting-API-command-line-client/m-p/1362644#M18015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm writing the command line client now and I'm troubled by NTLM token, I would like to ask if you have written this client and have solved the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the official document, I noticed that there was a sentence like this: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Trebuchet MS', sans-serif; font-size: 15px;"&gt;Javascript clients must pass the NTLM token using XHR credentials.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="JSA.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/175873_JSA.png" style="height: 482px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I don't know how to implement it in my code... Looking forward to your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Shyee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 03:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Is-there-an-NPrinting-API-command-line-client/m-p/1362644#M18015</guid>
      <dc:creator />
      <dc:date>2017-09-08T03:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an NPrinting API command line client?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Is-there-an-NPrinting-API-command-line-client/m-p/1362645#M18016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I haven't been able to do any work on this.&amp;nbsp; I wish Qlik would provide a simple command line client to automate basic tasks, including starting a task.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 17:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Is-there-an-NPrinting-API-command-line-client/m-p/1362645#M18016</guid>
      <dc:creator>kevinpintokpa</dc:creator>
      <dc:date>2017-09-12T17:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an NPrinting API command line client?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Is-there-an-NPrinting-API-command-line-client/m-p/1362646#M18017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not a developer, so I asked the help of a colleague here who suggest:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;It depends on the library you want to use. For example, if you use jquery, you need only to add the parameter xhrFields.withCredentials to the call. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Code sample:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$.ajax({&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; type: "GET",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; url: service_url,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; dataType: "json",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; xhrFields: {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; withCredentials: true&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; },&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; error: function(XMLHttpRequest, textStatus, errorThrown) { ajaxError(XMLHttpRequest, textStatus, errorThrown); },&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; success: function(json) { DoSomething(json); }&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;});&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;&lt;P&gt;---------------------------------------------&lt;/P&gt;&lt;P&gt;When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 08:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Is-there-an-NPrinting-API-command-line-client/m-p/1362646#M18017</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2017-09-14T08:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an NPrinting API command line client?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Is-there-an-NPrinting-API-command-line-client/m-p/1362647#M18018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot! I will try if I use jquery.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 10:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Is-there-an-NPrinting-API-command-line-client/m-p/1362647#M18018</guid>
      <dc:creator />
      <dc:date>2017-09-15T10:05:07Z</dc:date>
    </item>
  </channel>
</rss>

