<?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 Ajax call in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ajax-call/m-p/296252#M249382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using Alfresco Community - v3.4.0 and and when uploading a file I want to notify an external website, I'm trying to through an action in the folder and run a script, but I dont know how to make an ajax call, or something similar, within that script. The variables document, status and window are not defined (Error: Failed to execute script 'workspace://SpacesStore/6a3c9990-6fc2-4cf9-bdd5-3c56fd064c95': 07211345 ReferenceError: "status" is not defined (workspace. // SpacesStore / …), and I wonder if this is the best way…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Aug 2014 11:00:45 GMT</pubDate>
    <dc:creator>dlloret</dc:creator>
    <dc:date>2014-08-21T11:00:45Z</dc:date>
    <item>
      <title>Ajax call</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ajax-call/m-p/296252#M249382</link>
      <description>I'm using Alfresco Community - v3.4.0 and and when uploading a file I want to notify an external website, I'm trying to through an action in the folder and run a script, but I dont know how to make an ajax call, or something similar, within that script. The variables document, status and window are</description>
      <pubDate>Thu, 21 Aug 2014 11:00:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ajax-call/m-p/296252#M249382</guid>
      <dc:creator>dlloret</dc:creator>
      <dc:date>2014-08-21T11:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ajax call</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ajax-call/m-p/296253#M249383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco use Rhino JavaScript Engine for Java to implement javascript api ,by default Rhino dose not have ajax capability. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I recommend you to use other options ,for example implment a java action,in your action use apache common http client to make a http request.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 15:03:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ajax-call/m-p/296253#M249383</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-08-21T15:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ajax call</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ajax-call/m-p/296254#M249384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi kaynezhang, thanks for the help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally I extended of Rhino functionality, I found this page: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.unorganizedmachines.com/site/software-and-technology/34-software-development/97-calling-web-services-from-alfresco-web-scripts.html" rel="nofollow noopener noreferrer"&gt;http://www.unorganizedmachines.com/site/software-and-technology/34-software-development/97-calling-web-services-from-alfresco-web-scripts.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the steps and it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 08:42:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ajax-call/m-p/296254#M249384</guid>
      <dc:creator>dlloret</dc:creator>
      <dc:date>2014-08-26T08:42:43Z</dc:date>
    </item>
  </channel>
</rss>

