<?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 Report preview/generation throws &amp;quot;Remote code could not be executed&amp;quot; error in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Report-preview-generation-throws-quot-Remote-code-could-not-be/m-p/23791#M896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to preview a report fron the NPrinting Designer, but I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;The preview request failed with message: CefSharp Exception. Remote code could not be executed, error: The operation was canceled&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;now, the object that I'm trying to use is a third-party extension, and I've read in the documentation that those need to meet some requirements in order to work in NPrinting, namely:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN class="NPrinting NprintingQlikView QlikView"&gt;Qlik NPrinting&lt;/SPAN&gt; does not support the exporting or printing of visualization extensions that use:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;External resources.&lt;/LI&gt;
&lt;LI&gt;Internal and undocumented JavaScript modules or APIs.&lt;/LI&gt;
&lt;/UL&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;However, I don't think that is the problem, because of two reasons:&lt;/P&gt;&lt;P&gt;1) Exporting the same extension on a different QlikSense/NPrinting installation works fine&lt;/P&gt;&lt;P&gt;2) I've written the extension myself, and it doesn't use internal modules (other than the usual "js/qlik" and "jquery" ones). As for "external resources"... I don't exactly know what they mean by that, but all my javascript is in local files, I'm not loading stuff from CDNs or similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2018 07:08:11 GMT</pubDate>
    <dc:creator>master_t</dc:creator>
    <dc:date>2018-04-12T07:08:11Z</dc:date>
    <item>
      <title>Report preview/generation throws "Remote code could not be executed" error</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Report-preview-generation-throws-quot-Remote-code-could-not-be/m-p/23791#M896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to preview a report fron the NPrinting Designer, but I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;The preview request failed with message: CefSharp Exception. Remote code could not be executed, error: The operation was canceled&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;now, the object that I'm trying to use is a third-party extension, and I've read in the documentation that those need to meet some requirements in order to work in NPrinting, namely:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN class="NPrinting NprintingQlikView QlikView"&gt;Qlik NPrinting&lt;/SPAN&gt; does not support the exporting or printing of visualization extensions that use:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;External resources.&lt;/LI&gt;
&lt;LI&gt;Internal and undocumented JavaScript modules or APIs.&lt;/LI&gt;
&lt;/UL&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;However, I don't think that is the problem, because of two reasons:&lt;/P&gt;&lt;P&gt;1) Exporting the same extension on a different QlikSense/NPrinting installation works fine&lt;/P&gt;&lt;P&gt;2) I've written the extension myself, and it doesn't use internal modules (other than the usual "js/qlik" and "jquery" ones). As for "external resources"... I don't exactly know what they mean by that, but all my javascript is in local files, I'm not loading stuff from CDNs or similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 07:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Report-preview-generation-throws-quot-Remote-code-could-not-be/m-p/23791#M896</guid>
      <dc:creator>master_t</dc:creator>
      <dc:date>2018-04-12T07:08:11Z</dc:date>
    </item>
  </channel>
</rss>

