<?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: Retrieve data from database in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-data-from-database/m-p/105276#M29773</link>
    <description>&lt;P&gt;JavaScript Rhino has no support out-of-the-box for httpClients.&lt;/P&gt;
&lt;P&gt;There are some exotic alternatives (&lt;A href="https://stackoverflow.com/questions/22157910/using-rhino-js-engine-to-make-http-requests" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/22157910/using-rhino-js-engine-to-make-http-requests&lt;/A&gt;) but in this case the recommended alternative is to use a Java Backend service or action.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2019 08:19:50 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2019-10-25T08:19:50Z</dc:date>
    <item>
      <title>Retrieve data from database</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-data-from-database/m-p/105275#M29772</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a rule that needs to add data coming from an outside RDBMS (MySql) to a document custom model.&lt;/P&gt;&lt;P&gt;Is it possible to call an Http request from javascript within Alfresco?&lt;/P&gt;&lt;P&gt;My call is simply like this "http://&amp;lt;my db server&amp;gt;/Alfresco/XGetDO.php?DO=14569" and it return a json object.&lt;/P&gt;&lt;P&gt;Any help welcomed. Thank you!&lt;/P&gt;&lt;P&gt;Alfresco 5.2&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 07:50:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-data-from-database/m-p/105275#M29772</guid>
      <dc:creator>nimbus58</dc:creator>
      <dc:date>2019-10-24T07:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from database</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-data-from-database/m-p/105276#M29773</link>
      <description>&lt;P&gt;JavaScript Rhino has no support out-of-the-box for httpClients.&lt;/P&gt;
&lt;P&gt;There are some exotic alternatives (&lt;A href="https://stackoverflow.com/questions/22157910/using-rhino-js-engine-to-make-http-requests" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/22157910/using-rhino-js-engine-to-make-http-requests&lt;/A&gt;) but in this case the recommended alternative is to use a Java Backend service or action.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 08:19:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-data-from-database/m-p/105276#M29773</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-10-25T08:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from database</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-data-from-database/m-p/105277#M29774</link>
      <description>&lt;P&gt;Thanks Angel,&lt;/P&gt;&lt;P&gt;I'll give a try even if it is a bit exotic as you say!&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 07:04:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-data-from-database/m-p/105277#M29774</guid>
      <dc:creator>nimbus58</dc:creator>
      <dc:date>2019-11-05T07:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from database</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-data-from-database/m-p/105278#M29775</link>
      <description>&lt;P&gt;Our Master Data Alfresco addon for our commercial solution "smart business context services" has such an API but a product may be out of scope? This addon supports read/write access to other enterprise apps and ships with connectors for OpenSource products like MySQL, Postgres or REST-APIs like Redmine, EspoCRM. You could either use the integrated Alfresco Share controls to read/show external data like properties on the fly or you do what ever you whant by accessing the javascript api. In the upcoming version we also support amqp messaging as best practice to trigger modifications from one to many apps, to avoid expensive sync or availability issues.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.ecm4u.de/en/blog/2018-02-01-pimp-alfresco-to-support-digital-process" target="_blank" rel="noopener nofollow noreferrer"&gt;Pimp Alfresco for Everyday Activities&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please be aware that the solution Angel describes does not cover any error handling. So if you want/need to rely on such a solution you need some java implementation taking care about the protocol stuff and how to handle exceptions.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 08:23:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-data-from-database/m-p/105278#M29775</guid>
      <dc:creator>heiko_robert</dc:creator>
      <dc:date>2019-11-05T08:23:22Z</dc:date>
    </item>
  </channel>
</rss>

