<?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: Request in Alfresco database in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283612#M236742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you kaynezhang, your post was really helpful, and i know now what path to take.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but i still facing a problem, i followed this tutorial about creating a JS server-side script ( &lt;/SPAN&gt;&lt;A href="http://www.packtpub.com/article/alfresco-3-writing-executing-scripts" rel="nofollow noopener noreferrer"&gt;http://www.packtpub.com/article/alfresco-3-writing-executing-scripts&lt;/A&gt;&lt;SPAN&gt; ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i loggedin as admin and i created a JS file (transform.js) in the script Folder under company home. but when i try to run my script, et when i reached the "select a script to execute", i don't see my script in the dropdown box. i restarted the server, but still nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Am i missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Apr 2014 17:15:10 GMT</pubDate>
    <dc:creator>cyr</dc:creator>
    <dc:date>2014-04-07T17:15:10Z</dc:date>
    <item>
      <title>Request in Alfresco database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283608#M236738</link>
      <description>Hi, i am really new in alfresco andI am having problems to make requests in alfresco database. i am using alfresco 4.0.2 and a postgresql databaseI followed this tutorial: http://wiki.alfresco.com/wiki/3.4_JavaScript_API,and created a simple js file for the request.function requestSearch(){var nodes</description>
      <pubDate>Fri, 04 Apr 2014 15:59:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283608#M236738</guid>
      <dc:creator>cyr</dc:creator>
      <dc:date>2014-04-04T15:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Request in Alfresco database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283609#M236739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are using this wrongly. You are using it as normal client side javascript but this functions are of alfresco javascript and you would be able to execute them on server side only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So you need to first created independent script using those apis as shown in cookbook.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Test it by uploading them under script folder in alfresco then run action to execute that script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you can hook that script with any of rule in alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2014 09:30:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283609#M236739</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2014-04-05T09:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Request in Alfresco database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283610#M236740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your advice, it is a little bit clear now but not quite clear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can i have one clear example or tutorial to make it work? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 08:06:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283610#M236740</guid>
      <dc:creator>cyr</dc:creator>
      <dc:date>2014-04-07T08:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Request in Alfresco database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283611#M236741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In your code &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;$(function() {&lt;BR /&gt;$("#articles").click( function(){&lt;BR /&gt;alert( requestSearch());&lt;BR /&gt;});&lt;BR /&gt;});&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;which is is client-side JavaScript ,it will only run in your browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the import command and search object should be ran in server side and executed in the alfresco repository context&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 12:37:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283611#M236741</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-04-07T12:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Request in Alfresco database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283612#M236742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you kaynezhang, your post was really helpful, and i know now what path to take.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but i still facing a problem, i followed this tutorial about creating a JS server-side script ( &lt;/SPAN&gt;&lt;A href="http://www.packtpub.com/article/alfresco-3-writing-executing-scripts" rel="nofollow noopener noreferrer"&gt;http://www.packtpub.com/article/alfresco-3-writing-executing-scripts&lt;/A&gt;&lt;SPAN&gt; ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i loggedin as admin and i created a JS file (transform.js) in the script Folder under company home. but when i try to run my script, et when i reached the "select a script to execute", i don't see my script in the dropdown box. i restarted the server, but still nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Am i missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 17:15:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283612#M236742</guid>
      <dc:creator>cyr</dc:creator>
      <dc:date>2014-04-07T17:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Request in Alfresco database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283613#M236743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Make sure your js file is placed&amp;nbsp; under /Company Home/Data Dictionary/Scripts and make sure you transform.js's mime type is "Java Script"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If&amp;nbsp; the content type is plain text or html. It won't be seen .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can edit the content type to javascript&amp;nbsp; by clicking "View Details" and click "Modify"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 03:07:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/request-in-alfresco-database/m-p/283613#M236743</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-04-08T03:07:00Z</dc:date>
    </item>
  </channel>
</rss>

