<?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: jsPDF in Mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/jsPDF-in-Mashup/m-p/1887820#M16227</link>
    <description>&lt;P&gt;I was able to improve it a bit. I updated the script to work all the way to 1.5.3 and had to add html2canvas after that. Also something is up with the require calls so I had to move that script call down below those two. I found this&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/17293135/download-a-div-in-a-html-page-as-pdf-using-javascript" target="_self"&gt;thread&lt;/A&gt;&amp;nbsp;helpful, particularly the second answer.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2022 20:14:31 GMT</pubDate>
    <dc:creator>danelooman</dc:creator>
    <dc:date>2022-02-01T20:14:31Z</dc:date>
    <item>
      <title>jsPDF in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/jsPDF-in-Mashup/m-p/1887253#M16216</link>
      <description>&lt;P&gt;Please forgive me because this is a new foray for me. I am trying to integrate jsPDF&amp;nbsp;&lt;A href="https://rawgit.com/MrRio/jsPDF/master/docs/index.html" target="_self"&gt;(Documentation)&lt;/A&gt;&amp;nbsp; into my mashup to print multiple pdfs. I have multiple problems. The first is that the require seems to point to the resources folder instead of locally so I have to use an absolute URL to get the actual file.&amp;nbsp; When importing from &lt;SPAN&gt;"&lt;A href="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js" target="_blank"&gt;https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js&lt;/A&gt;" I get an error&amp;nbsp;jsPDF is not a constructor. I feel like I am missing something. Like I should install it via node to the server or something and call it that way. Or possibly I have the wrong js file from the library. Any help is appreciated.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I am using this codepen as a basis for testing the basic principle.&amp;nbsp;&lt;A href="https://codepen.io/AshikNesin/pen/KzgeYX?editors=1111" target="_self"&gt;https://codepen.io/AshikNesin/pen/KzgeYX?editors=1111&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 19:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/jsPDF-in-Mashup/m-p/1887253#M16216</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2022-01-31T19:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: jsPDF in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/jsPDF-in-Mashup/m-p/1887797#M16225</link>
      <description>&lt;P&gt;&amp;nbsp;I got it working by copying the set up of the codepen. What I had to do was add&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;script src='https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.2.61/jspdf.min.js'&amp;gt;&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;before the script in the body of the html. It is an older version of jsPDF but it will get the job done. If anyone has a better way of doing this I will leave this up for replies.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 19:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/jsPDF-in-Mashup/m-p/1887797#M16225</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2022-02-01T19:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: jsPDF in Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/jsPDF-in-Mashup/m-p/1887820#M16227</link>
      <description>&lt;P&gt;I was able to improve it a bit. I updated the script to work all the way to 1.5.3 and had to add html2canvas after that. Also something is up with the require calls so I had to move that script call down below those two. I found this&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/17293135/download-a-div-in-a-html-page-as-pdf-using-javascript" target="_self"&gt;thread&lt;/A&gt;&amp;nbsp;helpful, particularly the second answer.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 20:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/jsPDF-in-Mashup/m-p/1887820#M16227</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2022-02-01T20:14:31Z</dc:date>
    </item>
  </channel>
</rss>

