<?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 can I get the NodeRef from getHomeSpaceId string? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-noderef-from-gethomespaceid-string/m-p/34464#M18053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a slightly better way, rather than hardcoding the workspace use the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;NodeRef refNode = new NodeRef(Repository.getStoreRef(), beanNav.getCurrentUser().getHomeSpaceId());&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jun 2006 08:26:14 GMT</pubDate>
    <dc:creator>gavinc</dc:creator>
    <dc:date>2006-06-16T08:26:14Z</dc:date>
    <item>
      <title>How can I get the NodeRef from getHomeSpaceId string?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-noderef-from-gethomespaceid-string/m-p/34462#M18051</link>
      <description>I am trying to modify the webclient so the user can only check out working file into their home space.I am close. I get the users homespace id and need to set theselected space in the CheckinCheckoutBean, but need it as a NodeRefobject not a string (spaceID).I bet this is simple, but can't seem to f</description>
      <pubDate>Thu, 15 Jun 2006 15:03:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-noderef-from-gethomespaceid-string/m-p/34462#M18051</guid>
      <dc:creator>csiege</dc:creator>
      <dc:date>2006-06-15T15:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the NodeRef from getHomeSpaceId string?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-noderef-from-gethomespaceid-string/m-p/34463#M18052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got this working!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't know if its the best way, but using the node browser I got the idea that seems to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bean.setCopyLocation("other");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;NodeRef refNode = new NodeRef("workspace://SpacesStore/" + beanNav.getCurrentUser().getHomeSpaceId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;bean.setSelectedSpaceId(refNode);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 17:04:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-noderef-from-gethomespaceid-string/m-p/34463#M18052</guid>
      <dc:creator>csiege</dc:creator>
      <dc:date>2006-06-15T17:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the NodeRef from getHomeSpaceId string?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-noderef-from-gethomespaceid-string/m-p/34464#M18053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a slightly better way, rather than hardcoding the workspace use the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;NodeRef refNode = new NodeRef(Repository.getStoreRef(), beanNav.getCurrentUser().getHomeSpaceId());&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 08:26:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-get-the-noderef-from-gethomespaceid-string/m-p/34464#M18053</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-06-16T08:26:14Z</dc:date>
    </item>
  </channel>
</rss>

