<?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 get Repository Node? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-repository-node/m-p/80602#M24923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly do you mean with 'Repository node'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's assume you mean the 'Company Home' node:&lt;/P&gt;&lt;P&gt;In the Maven Platform Jar archetype, there is an example where the 'Company Home' node is retrieved via the `nodeLocatorService` as follows:&lt;/P&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;nodeLocatorService&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getNode&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"companyhome"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; null&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; null&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Have a look here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-sdk/blob/master/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/src/main/java/platformsample/DemoComponent.java#L79" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-sdk/blob/master/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/src/main/java/platformsample/DemoComponent.java#L79&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2019 06:22:18 GMT</pubDate>
    <dc:creator>kerkhofsd</dc:creator>
    <dc:date>2019-07-18T06:22:18Z</dc:date>
    <item>
      <title>how to get Repository Node?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-repository-node/m-p/80601#M24922</link>
      <description>How to get Repository node in java ?</description>
      <pubDate>Thu, 18 Jul 2019 05:25:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-repository-node/m-p/80601#M24922</guid>
      <dc:creator>dharmraj</dc:creator>
      <dc:date>2019-07-18T05:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to get Repository Node?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-repository-node/m-p/80602#M24923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly do you mean with 'Repository node'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's assume you mean the 'Company Home' node:&lt;/P&gt;&lt;P&gt;In the Maven Platform Jar archetype, there is an example where the 'Company Home' node is retrieved via the `nodeLocatorService` as follows:&lt;/P&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;nodeLocatorService&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getNode&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"companyhome"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; null&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; null&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Have a look here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-sdk/blob/master/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/src/main/java/platformsample/DemoComponent.java#L79" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-sdk/blob/master/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/src/main/java/platformsample/DemoComponent.java#L79&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 06:22:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-repository-node/m-p/80602#M24923</guid>
      <dc:creator>kerkhofsd</dc:creator>
      <dc:date>2019-07-18T06:22:18Z</dc:date>
    </item>
  </channel>
</rss>

