<?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 Get current space from JavaScript via inherited rule in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-current-space-from-javascript-via-inherited-rule/m-p/226040#M179170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've read in the Alfresco JavaScript wiki that the javaScript command "space" return the nodeRef of the space where the rule is defined, so if I've this schenario:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;–&amp;gt; Folder (defined rule)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;–&amp;gt; –&amp;gt; SubFolder (inherited rule)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the script is execute in the "SubFolder" and I have the command "space" it refers correctly to the space "Folder", but I want a reference to "SubFolder".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I ask you if there is a work-around for get the current space inside javaScript executed by an inherited rule.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CAN YOU HELP ME?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;THANK YOU&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Sep 2010 10:44:43 GMT</pubDate>
    <dc:creator>chicco0386</dc:creator>
    <dc:date>2010-09-27T10:44:43Z</dc:date>
    <item>
      <title>Get current space from JavaScript via inherited rule</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-current-space-from-javascript-via-inherited-rule/m-p/226040#M179170</link>
      <description>Hi all,I've read in the Alfresco JavaScript wiki that the javaScript command "space" return the nodeRef of the space where the rule is defined, so if I've this schenario:–&amp;gt; Folder (defined rule)–&amp;gt; –&amp;gt; SubFolder (inherited rule)and the script is execute in the "SubFolder" and I have the comma</description>
      <pubDate>Mon, 27 Sep 2010 10:44:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-current-space-from-javascript-via-inherited-rule/m-p/226040#M179170</guid>
      <dc:creator>chicco0386</dc:creator>
      <dc:date>2010-09-27T10:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get current space from JavaScript via inherited rule</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-current-space-from-javascript-via-inherited-rule/m-p/226041#M179171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if you are woriking with the documents inside a script, you can get document.parent. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; so if item was added inside subfolder with parent you would get subfolder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 09:08:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-current-space-from-javascript-via-inherited-rule/m-p/226041#M179171</guid>
      <dc:creator>savic_prvoslav</dc:creator>
      <dc:date>2010-09-28T09:08:06Z</dc:date>
    </item>
  </channel>
</rss>

