<?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: exportPdf error after switching apps (Uncaught (in promise) {code: 2}) in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/exportPdf-error-after-switching-apps-Uncaught-in-promise-code-2/m-p/1743300#M14632</link>
    <description>&lt;P&gt;Nobody answered here but it's an ongoing discussion on this thread:&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Integration-Extensions-APIs/Qlik-Sense-exportImg-not-working/m-p/1619566" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Integration-Extensions-APIs/Qlik-Sense-exportImg-not-working/m-p/1619566&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Sep 2020 22:12:41 GMT</pubDate>
    <dc:creator>will_br</dc:creator>
    <dc:date>2020-09-11T22:12:41Z</dc:date>
    <item>
      <title>exportPdf error after switching apps (Uncaught (in promise) {code: 2})</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/exportPdf-error-after-switching-apps-Uncaught-in-promise-code-2/m-p/1669798#M14631</link>
      <description>&lt;P&gt;Hi, can anyone assist me with this error?&lt;/P&gt;&lt;P&gt;Every time I try to export a PDF or Image file it goes perfectly but when I close and open another application I keep getting this error.&lt;/P&gt;&lt;P&gt;I've checked and the application is really changing from one to another. If I switch it back, it exports ok again.&lt;/P&gt;&lt;P&gt;The error is pretty concise and not much informative:&amp;nbsp;&lt;SPAN class="name"&gt;error&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="object-value-object value"&gt;&lt;SPAN class="object-properties-preview"&gt;{&lt;SPAN class="name"&gt;code&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="object-value-number"&gt;2&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="object-value-object value"&gt;&lt;SPAN class="object-properties-preview"&gt;...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;const&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;currentVisualization&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;await&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;activeApp&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;visualization&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(visualizationId&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;const&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;pdfUri&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;await&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;currentVisualization&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;exportPdf&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;pdfExportSettings&lt;/SPAN&gt;&lt;SPAN&gt;); //&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;- error thrown&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;We are using&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Feb 2019 version.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/exportPdf-error-after-switching-apps-Uncaught-in-promise-code-2/m-p/1669798#M14631</guid>
      <dc:creator>will_br</dc:creator>
      <dc:date>2024-11-16T03:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: exportPdf error after switching apps (Uncaught (in promise) {code: 2})</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/exportPdf-error-after-switching-apps-Uncaught-in-promise-code-2/m-p/1743300#M14632</link>
      <description>&lt;P&gt;Nobody answered here but it's an ongoing discussion on this thread:&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Integration-Extensions-APIs/Qlik-Sense-exportImg-not-working/m-p/1619566" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Integration-Extensions-APIs/Qlik-Sense-exportImg-not-working/m-p/1619566&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 22:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/exportPdf-error-after-switching-apps-Uncaught-in-promise-code-2/m-p/1743300#M14632</guid>
      <dc:creator>will_br</dc:creator>
      <dc:date>2020-09-11T22:12:41Z</dc:date>
    </item>
  </channel>
</rss>

