<?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 Include JS libary in FreeMarker in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/include-js-libary-in-freemarker/m-p/100510#M28991</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I just followed this guidance&amp;nbsp;&lt;A href="https://docs.alfresco.com/community/tasks/ws-forms-process.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/community/tasks/ws-forms-process.html&lt;/A&gt;&amp;nbsp;to create multipart forms with webscript and it worked perfectly. Now i'd like to include another library.js and use it to call function in multipart.post.js, please guilde me how to achieve this ! thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2020 02:20:52 GMT</pubDate>
    <dc:creator>fusu</dc:creator>
    <dc:date>2020-08-17T02:20:52Z</dc:date>
    <item>
      <title>Include JS libary in FreeMarker</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/include-js-libary-in-freemarker/m-p/100510#M28991</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I just followed this guidance&amp;nbsp;&lt;A href="https://docs.alfresco.com/community/tasks/ws-forms-process.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/community/tasks/ws-forms-process.html&lt;/A&gt;&amp;nbsp;to create multipart forms with webscript and it worked perfectly. Now i'd like to include another library.js and use it to call function in multipart.post.js, please guilde me how to achieve this ! thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 02:20:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/include-js-libary-in-freemarker/m-p/100510#M28991</guid>
      <dc:creator>fusu</dc:creator>
      <dc:date>2020-08-17T02:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Include JS libary in FreeMarker</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/include-js-libary-in-freemarker/m-p/100511#M28992</link>
      <description>&lt;P&gt;I'm not sure whether I understood what you want to achieve.&lt;/P&gt;&lt;P&gt;Multipart.post.js is executed in server side , if you want to include js libary in freemarker,it is excuted in client side.&lt;/P&gt;&lt;P&gt;If you want to call a client side js in freemarker,you can include it like this&lt;/P&gt;&lt;PRE&gt;&amp;lt;script type="text/javascript" src="${url.context}/scripts/xxxx.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;If you want to call another js in multipart.post.js,you can import it like following.&lt;/P&gt;&lt;PRE&gt;&amp;lt;import resource="classpath:alfresco/templates/webscripts/***/***/***.js"&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Aug 2020 02:46:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/include-js-libary-in-freemarker/m-p/100511#M28992</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2020-08-17T02:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Include JS libary in FreeMarker</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/include-js-libary-in-freemarker/m-p/100512#M28993</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;multipart.post.js is server side file and library.js is client side so i dont think you can achive this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 09:49:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/include-js-libary-in-freemarker/m-p/100512#M28993</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-08-17T09:49:01Z</dc:date>
    </item>
  </channel>
</rss>

