<?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 How alfresco javascript api is integrated in repository? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-alfresco-javascript-api-is-integrated-in-repository/m-p/273986#M227116</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;BR /&gt;&lt;SPAN&gt;While going thru &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/4.0_JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/4.0_JavaScript_API&lt;/A&gt;&lt;SPAN&gt;, i was curious that how alfresco javascript apis are integrated in repository so that these can leverage underlying java based services framework. E.g. javascript search api&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var results = search.query({query: "TEXT:alfresco"});&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Internally it calls alfresco repo searchservice so how it happens exactly &amp;amp; how can i extend it for custom javascript apis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Feb 2013 15:55:58 GMT</pubDate>
    <dc:creator>dynamolalit</dc:creator>
    <dc:date>2013-02-03T15:55:58Z</dc:date>
    <item>
      <title>How alfresco javascript api is integrated in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-alfresco-javascript-api-is-integrated-in-repository/m-p/273986#M227116</link>
      <description>Hi,While going thru http://wiki.alfresco.com/wiki/4.0_JavaScript_API, i was curious that how alfresco javascript apis are integrated in repository so that these can leverage underlying java based services framework. E.g. javascript search apivar results = search.query({query: "TEXT:alfresco"});‍Inte</description>
      <pubDate>Sun, 03 Feb 2013 15:55:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-alfresco-javascript-api-is-integrated-in-repository/m-p/273986#M227116</guid>
      <dc:creator>dynamolalit</dc:creator>
      <dc:date>2013-02-03T15:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: How alfresco javascript api is integrated in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-alfresco-javascript-api-is-integrated-in-repository/m-p/273987#M227117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are parts to the puzzle.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first is that there are a number of so called "root" scoped objects that are placed into the java script context.&amp;nbsp;&amp;nbsp; One of which is "search".&amp;nbsp;&amp;nbsp;&amp;nbsp; You can add your own root scoped objests - take a look at how one of the existing ones is defined to see the pattern.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The second part of the puzzle is the machinery ro run Java script and map java objects to jave script.&amp;nbsp;&amp;nbsp; You shouldn't need to know the ins and outs of that process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 00:40:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-alfresco-javascript-api-is-integrated-in-repository/m-p/273987#M227117</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2013-02-04T00:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: How alfresco javascript api is integrated in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-alfresco-javascript-api-is-integrated-in-repository/m-p/273988#M227118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm..but i should get an overview of the machinery you just mentioned.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 06:43:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-alfresco-javascript-api-is-integrated-in-repository/m-p/273988#M227118</guid>
      <dc:creator>dynamolalit</dc:creator>
      <dc:date>2013-02-04T06:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: How alfresco javascript api is integrated in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-alfresco-javascript-api-is-integrated-in-repository/m-p/273989#M227119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;O.K.&amp;nbsp; Read up on Rhino.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In alfresco &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a look at the ScriptService in particular ScriptServiceImpl that's the entry point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And the various ScriptProcessors.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 11:04:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-alfresco-javascript-api-is-integrated-in-repository/m-p/273989#M227119</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2013-02-04T11:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: How alfresco javascript api is integrated in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-alfresco-javascript-api-is-integrated-in-repository/m-p/273990#M227120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 17:00:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-alfresco-javascript-api-is-integrated-in-repository/m-p/273990#M227120</guid>
      <dc:creator>dynamolalit</dc:creator>
      <dc:date>2013-02-04T17:00:56Z</dc:date>
    </item>
  </channel>
</rss>

