<?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 How to get the folder Id  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-folder-id/m-p/308251#M261381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi , I am new to alfresco ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having a site called sample , I want to know how to get the folder id of DOCUMENT LIBRARY.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nihar Narla&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Aug 2013 05:43:56 GMT</pubDate>
    <dc:creator>nihar</dc:creator>
    <dc:date>2013-08-14T05:43:56Z</dc:date>
    <item>
      <title>How to get the folder Id</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-folder-id/m-p/308251#M261381</link>
      <description>Hi , I am new to alfresco ,I am having a site called sample , I want to know how to get the folder id of DOCUMENT LIBRARY.Thank You,Nihar Narla</description>
      <pubDate>Wed, 14 Aug 2013 05:43:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-folder-id/m-p/308251#M261381</guid>
      <dc:creator>nihar</dc:creator>
      <dc:date>2013-08-14T05:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the folder Id</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-folder-id/m-p/308252#M261382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If by folder id you mean nodeRef (you might mean dbid), then in Javascript running in the repository layer (Alfresco) you would call:-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var folderObject = companyhome.childByNamePath("/Sites/{your-site-short-name}/documentLibrary"); &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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should return you the object which has a property nodeRef (folderObject.nodeRef) and the dbid (folderObject.properties["sys:dbid"])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob Johnson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 09:46:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-folder-id/m-p/308252#M261382</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-08-14T09:46:00Z</dc:date>
    </item>
  </channel>
</rss>

