<?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: ADF 2.6.0: pdfjsLib is not defined in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/adf-2-6-0-pdfjslib-is-not-defined/m-p/14693#M6473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked for me too.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2018 11:48:55 GMT</pubDate>
    <dc:creator>d_m</dc:creator>
    <dc:date>2018-10-09T11:48:55Z</dc:date>
    <item>
      <title>ADF 2.6.0: pdfjsLib is not defined</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-2-6-0-pdfjslib-is-not-defined/m-p/14689#M6469</link>
      <description>After generating a new ADF 2.6.0 app with Yeoman, when I try to preview a document I get the following error:'pdfjsLib' is not definedmain.ts contains the following lines:&amp;nbsp;main.tsimport * as pdfjsLib from 'pdfjs-dist';pdfjsLib.PDFJS.workerSrc = 'pdf.worker.js';Sticking to 2.5.0 for my app</description>
      <pubDate>Tue, 09 Oct 2018 07:19:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-2-6-0-pdfjslib-is-not-defined/m-p/14689#M6469</guid>
      <dc:creator>d_m</dc:creator>
      <dc:date>2018-10-09T07:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: ADF 2.6.0: pdfjsLib is not defined</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-2-6-0-pdfjslib-is-not-defined/m-p/14690#M6470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove those two lines, they are not needed anymore&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 07:33:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-2-6-0-pdfjslib-is-not-defined/m-p/14690#M6470</guid>
      <dc:creator>dvuika</dc:creator>
      <dc:date>2018-10-09T07:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: ADF 2.6.0: pdfjsLib is not defined</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-2-6-0-pdfjslib-is-not-defined/m-p/14691#M6471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The lines are removed, but the error is still active. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 07:38:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-2-6-0-pdfjslib-is-not-defined/m-p/14691#M6471</guid>
      <dc:creator>d_m</dc:creator>
      <dc:date>2018-10-09T07:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: ADF 2.6.0: pdfjsLib is not defined</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-2-6-0-pdfjslib-is-not-defined/m-p/14692#M6472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following helped me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- npm install &lt;A href="mailto:pdfjs-dist@latest" rel="nofollow noopener noreferrer"&gt;pdfjs-dist@latest&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- remove those 2 lines from the main.ts&lt;/P&gt;&lt;P&gt;- update "angular.json" asset, from "pdf.worker.js" to "pdf.worker.min.js"&lt;/P&gt;&lt;P&gt;- npm start&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will update the yeoman generator shortly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 11:32:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-2-6-0-pdfjslib-is-not-defined/m-p/14692#M6472</guid>
      <dc:creator>dvuika</dc:creator>
      <dc:date>2018-10-09T11:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: ADF 2.6.0: pdfjsLib is not defined</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-2-6-0-pdfjslib-is-not-defined/m-p/14693#M6473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked for me too.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 11:48:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-2-6-0-pdfjslib-is-not-defined/m-p/14693#M6473</guid>
      <dc:creator>d_m</dc:creator>
      <dc:date>2018-10-09T11:48:55Z</dc:date>
    </item>
  </channel>
</rss>

