<?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 parent space node in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/access-parent-space-node/m-p/88576#M60112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to get the NodeRef of the parent space of a document node but I face a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess that ChildAssociationRef.getParentRef() should return a reference to the parent space but my document is in a jBPM workflow so I get a reference to the package.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Primary path the returned parent is /{&lt;A href="http://www.alfresco.org/model/system/1.0}system/{http://www.alfresco.org/model/system/1.0}workflow/{http://www.alfresco.org/model/content/1.0}packages/{http://www.alfresco.org/model/content/1.0}pkg_55659c53-1ab4-11dc-9972-73df706e52dc" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/system/1.0}system/{http://www.alfresco.org/model/system/1.0}workflow/{http://www.alfresco.org/model/content/1.0}packages/{http://www.alfresco.org/model/content/1.0}pkg_55659c53-1ab4-11dc-9972-73df706e52dc&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;type:&lt;BR /&gt;{&lt;A href="http://www.alfresco.org/model/content/1.0}systemfolder" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}systemfolder&lt;/A&gt;&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;How is it possible to get the parent space from the NodeService ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2007 20:20:44 GMT</pubDate>
    <dc:creator>pcuvecle</dc:creator>
    <dc:date>2007-06-14T20:20:44Z</dc:date>
    <item>
      <title>Access parent space node</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-parent-space-node/m-p/88576#M60112</link>
      <description>Hi,I try to get the NodeRef of the parent space of a document node but I face a problem.I guess that ChildAssociationRef.getParentRef() should return a reference to the parent space but my document is in a jBPM workflow so I get a reference to the package.Primary path the returned parent is /{http:/</description>
      <pubDate>Thu, 14 Jun 2007 20:20:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-parent-space-node/m-p/88576#M60112</guid>
      <dc:creator>pcuvecle</dc:creator>
      <dc:date>2007-06-14T20:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Access parent space node</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-parent-space-node/m-p/88577#M60113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I finally found the answer :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;NodeRef parentSpace = nodeService.getPrimaryParent(docNode).getParentRef();&lt;SPAN class="line-numbers-rows"&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>Thu, 14 Jun 2007 20:45:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-parent-space-node/m-p/88577#M60113</guid>
      <dc:creator>pcuvecle</dc:creator>
      <dc:date>2007-06-14T20:45:32Z</dc:date>
    </item>
  </channel>
</rss>

