<?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: Javascript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90372#M61533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thx for looking…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please let me know when this bug is gone&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2007 12:17:01 GMT</pubDate>
    <dc:creator>xerox</dc:creator>
    <dc:date>2007-06-20T12:17:01Z</dc:date>
    <item>
      <title>Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90366#M61527</link>
      <description>When I execute my simple javascript in de folder sandbox(a folder under company home) it won't do the right thingcode: space.setPermission("Read", "test" );I expect it gives the group "test" read acces to the space sandbox, but this isn't true. It gives read acces to the space comapny home.can anyon</description>
      <pubDate>Fri, 15 Jun 2007 15:12:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90366#M61527</guid>
      <dc:creator>xerox</dc:creator>
      <dc:date>2007-06-15T15:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90367#M61528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;is this a bug?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 09:06:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90367#M61528</guid>
      <dc:creator>xerox</dc:creator>
      <dc:date>2007-06-18T09:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90368#M61529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure the 'space' object is pointing to the node you think it is? i.e. have you tried viewing the space.name value? Are you running the script in the context of an inherited rule? As then the space object will be the space the rule was originally created in. I've checked the code and there is no bug that i can see.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 09:37:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90368#M61529</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-06-18T09:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90369#M61530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;space.name.value gives company home, (the parent of sandboxfolder)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;browsed to the details of the folder sandbox and then clicked on run action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There I executed the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So it seems space actually means parent?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 11:02:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90369#M61530</guid>
      <dc:creator>xerox</dc:creator>
      <dc:date>2007-06-18T11:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90370#M61531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm almost sure it's a bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use my script as a rule in a folder , than it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(space is current space)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but when I use my script as "run action" ,than is doesn't work logical.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(space is than the parent space)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 08:00:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90370#M61531</guid>
      <dc:creator>xerox</dc:creator>
      <dc:date>2007-06-19T08:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90371#M61532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If it's working from a rule then thats ok at least - but yes it sounds like maybe there is a bug picking up the correct space context when executing a script from Run Action. I'll take a look at that area and see if i can find the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 11:15:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90371#M61532</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-06-19T11:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90372#M61533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thx for looking…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please let me know when this bug is gone&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 12:17:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90372#M61533</guid>
      <dc:creator>xerox</dc:creator>
      <dc:date>2007-06-20T12:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90373#M61534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have found the problem. There is a bug which is allocating the current space to the 'document' script context object if (and only if) the script is executed via Run Action for a space. I have raised it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://issues.alfresco.com/browse/AR-1527" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/AR-1527&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will be fixed for 2.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 13:38:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90373#M61534</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-06-20T13:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90374#M61535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Fix checked in.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 18:55:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90374#M61535</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-06-20T18:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90375#M61536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thx…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 12:04:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript/m-p/90375#M61536</guid>
      <dc:creator>xerox</dc:creator>
      <dc:date>2007-06-22T12:04:29Z</dc:date>
    </item>
  </channel>
</rss>

