<?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: How to Identify current space? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-current-space/m-p/92144#M62964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I invoked the script from FTL by YUI AJAX call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The space object returns proper node if used in the FTL itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But, if written in a script and the script is invoked from that FTL, the "space" object returns NULL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2007 05:53:05 GMT</pubDate>
    <dc:creator>snig</dc:creator>
    <dc:date>2007-04-06T05:53:05Z</dc:date>
    <item>
      <title>How to Identify current space?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-current-space/m-p/92142#M62962</link>
      <description>HiMe being a pretty new user in Alfresco, am struggling to create a feature.The requirement is quite simple… I want to create a script which will create a new item (new node) in the current space from where the script is being invoked.I call this script from a FTL which is actually in the custom vie</description>
      <pubDate>Fri, 30 Mar 2007 06:42:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-current-space/m-p/92142#M62962</guid>
      <dc:creator>snig</dc:creator>
      <dc:date>2007-03-30T06:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify current space?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-current-space/m-p/92143#M62963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The 'space' object is available depending on the context and model setup for the script execution - you say "I call this script from a FTL" - how are you doing this exactly?&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, 03 Apr 2007 10:32:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-current-space/m-p/92143#M62963</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-04-03T10:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify current space?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-current-space/m-p/92144#M62964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I invoked the script from FTL by YUI AJAX call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The space object returns proper node if used in the FTL itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But, if written in a script and the script is invoked from that FTL, the "space" object returns NULL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 05:53:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-current-space/m-p/92144#M62964</guid>
      <dc:creator>snig</dc:creator>
      <dc:date>2007-04-06T05:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify current space?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-current-space/m-p/92145#M62965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think the problem is that the script you execute from the FTL has no context for the "current" space. You will need to construct the URL to the script with the "contextPath=…" argument specifying the context for it to use.&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>Fri, 20 Apr 2007 08:53:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-current-space/m-p/92145#M62965</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-04-20T08:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify current space?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-current-space/m-p/92146#M62966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Kevin… yes, that may be the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I, however, have written some manual coding to find the current space thru lucene.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, the problem is now solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, in case anyone is struck in some similar problem, do ping… happy to share the code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2007 10:43:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-identify-current-space/m-p/92146#M62966</guid>
      <dc:creator>snig</dc:creator>
      <dc:date>2007-04-21T10:43:22Z</dc:date>
    </item>
  </channel>
</rss>

