<?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: Calling Web Service via a rule that executes a JavaScript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284748#M237878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you make the Java class available with the name &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;remote&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; for the JavaScript level?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jan 2015 10:52:32 GMT</pubDate>
    <dc:creator>lutz_horn</dc:creator>
    <dc:date>2015-01-09T10:52:32Z</dc:date>
    <item>
      <title>Calling Web Service via a rule that executes a JavaScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284747#M237877</link>
      <description>Hi all,I need to extract metadata file from an external database (Oracle) , so i create a java-backed web-script to make connection with the database and i need to call this webscript via a rule that executes a JavaScript.That is why I am trying to use the [var conn = remote.connect("alfresco");] bu</description>
      <pubDate>Fri, 09 Jan 2015 10:33:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284747#M237877</guid>
      <dc:creator>mirtunis</dc:creator>
      <dc:date>2015-01-09T10:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Web Service via a rule that executes a JavaScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284748#M237878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you make the Java class available with the name &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;remote&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; for the JavaScript level?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 10:52:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284748#M237878</guid>
      <dc:creator>lutz_horn</dc:creator>
      <dc:date>2015-01-09T10:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Web Service via a rule that executes a JavaScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284749#M237879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your rule is executing on the alfresco repository.&amp;nbsp;&amp;nbsp;&amp;nbsp; There's no remote object.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 11:05:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284749#M237879</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-01-09T11:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Web Service via a rule that executes a JavaScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284750#M237880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the remote is the remote object to get a connector to a specific endpoint in alfresco ,by default it is only available in share but not repository .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need enable remote endpoint in repository.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 11:15:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284750#M237880</guid>
      <dc:creator>mirtunis</dc:creator>
      <dc:date>2015-01-09T11:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Web Service via a rule that executes a JavaScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284751#M237881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem ,do you find a solution please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 14:06:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284751#M237881</guid>
      <dc:creator>midoscofield</dc:creator>
      <dc:date>2015-01-09T14:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Web Service via a rule that executes a JavaScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284752#M237882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you don't need the remote object.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a java backed web script then use the java API directly.&amp;nbsp;&amp;nbsp;&amp;nbsp; If you have a rule then implement a java action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using java script then use the java script API directly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 15:30:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284752#M237882</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-01-09T15:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Web Service via a rule that executes a JavaScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284753#M237883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I too have a Java backed webscript, I want to execute this Java backed webscript from the rule using "Execute Script" selection which execute a JavaScript,&amp;nbsp; can you post some examnple code, how to use Java API directly to invoke the Java Backed Webscript.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 13:14:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284753#M237883</guid>
      <dc:creator>satheeshkumar</dc:creator>
      <dc:date>2015-02-12T13:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Web Service via a rule that executes a JavaScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284754#M237884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe I'm being REALLY obtuse…..but:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My use case is to make a remote call (in this case to a Confluence REST endpoint) when a folder is created in a particular site. I'm running into the same exact issue as OP, and reading this thread, it seems I'll need to develop a web script. I am able to locate the tutorials for developing a java-backed web script. However, it seems that once complete with my custom web script, I'll still run into the same problem : there's STILL no way to call a URL from the javascript called by the Rule on the folder, whether it's an Alfresco REST/Web Script URL or something else….since remote is still undefined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As this will be a 'sometimes on' usage, my users need to be able to manage it from the Rules interface, rather than removing/re-adding a web script every time. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I missing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 23:13:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-web-service-via-a-rule-that-executes-a-javascript/m-p/284754#M237884</guid>
      <dc:creator>drrez</dc:creator>
      <dc:date>2015-12-09T23:13:39Z</dc:date>
    </item>
  </channel>
</rss>

