<?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 Access space node from JavaScript if rules are applied in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/access-space-node-from-javascript-if-rules-are-applied/m-p/264134#M217264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The situation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I have to execute some JavaScript script for space if some criteria are met, for example, if space aspect data are filled; thos must be done also for all sub spaces; to achieve that, a rule has been created for top level space with option "rule applies to subfolders" which executes script;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) the proble - from sript its impossible to access the current space!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If we check documentation &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;, there said:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;space - The current space Script Node (if any). Note that for a script executing from a rule, the space object will be the space that the rule resides in, this may not be the space you are expecting if the rule is inherited. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So how can I access the current space node, not top one on which rule was applied? In documentation I cant see any of objects which could help. Is there a solution for this problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2011 16:12:55 GMT</pubDate>
    <dc:creator>redomancer</dc:creator>
    <dc:date>2011-11-23T16:12:55Z</dc:date>
    <item>
      <title>Access space node from JavaScript if rules are applied</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-space-node-from-javascript-if-rules-are-applied/m-p/264134#M217264</link>
      <description>The situation:1) I have to execute some JavaScript script for space if some criteria are met, for example, if space aspect data are filled; thos must be done also for all sub spaces; to achieve that, a rule has been created for top level space with option "rule applies to subfolders" which executes</description>
      <pubDate>Wed, 23 Nov 2011 16:12:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-space-node-from-javascript-if-rules-are-applied/m-p/264134#M217264</guid>
      <dc:creator>redomancer</dc:creator>
      <dc:date>2011-11-23T16:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Access space node from JavaScript if rules are applied</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-space-node-from-javascript-if-rules-are-applied/m-p/264135#M217265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to use the SearchService of Alfresco that is available in the Javascript API using the Search API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 17:04:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-space-node-from-javascript-if-rules-are-applied/m-p/264135#M217265</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2011-11-23T17:04:59Z</dc:date>
    </item>
  </channel>
</rss>

