<?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: Using 3rd party libraries in javascript script task in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/using-3rd-party-libraries-in-javascript-script-task/m-p/12629#M5585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the javascript engine in activiti is the standard one provided by JDK which is Rhino until Java 7 and Nashorn from Java 8 on, so the standard ways to load external libraries you would use there apply to Activiti scripts as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example via the load function with Nashorn:&amp;nbsp;&lt;A class="link-titled" href="http://www.baeldung.com/java-nashorn" title="http://www.baeldung.com/java-nashorn" rel="nofollow noopener noreferrer"&gt;http://www.baeldung.com/java-nashorn&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2018 14:32:11 GMT</pubDate>
    <dc:creator>mteodori</dc:creator>
    <dc:date>2018-03-07T14:32:11Z</dc:date>
    <item>
      <title>Using 3rd party libraries in javascript script task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/using-3rd-party-libraries-in-javascript-script-task/m-p/12628#M5584</link>
      <description>How would I go about importing external javascript libraries into alfresco script tasks? I'd like to use lodash for a task, but I'm not sure where to save lodash.js file and load it in my script task.</description>
      <pubDate>Tue, 06 Mar 2018 22:54:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/using-3rd-party-libraries-in-javascript-script-task/m-p/12628#M5584</guid>
      <dc:creator>apita</dc:creator>
      <dc:date>2018-03-06T22:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using 3rd party libraries in javascript script task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/using-3rd-party-libraries-in-javascript-script-task/m-p/12629#M5585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the javascript engine in activiti is the standard one provided by JDK which is Rhino until Java 7 and Nashorn from Java 8 on, so the standard ways to load external libraries you would use there apply to Activiti scripts as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example via the load function with Nashorn:&amp;nbsp;&lt;A class="link-titled" href="http://www.baeldung.com/java-nashorn" title="http://www.baeldung.com/java-nashorn" rel="nofollow noopener noreferrer"&gt;http://www.baeldung.com/java-nashorn&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 14:32:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/using-3rd-party-libraries-in-javascript-script-task/m-p/12629#M5585</guid>
      <dc:creator>mteodori</dc:creator>
      <dc:date>2018-03-07T14:32:11Z</dc:date>
    </item>
  </channel>
</rss>

