<?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: session.getObjectByPath() for sub dir in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295922#M249052</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;Thanks for the info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dir1 is created under Company Home. Here is the directory structure:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Company Home &amp;gt; dir1&amp;gt; dir2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But still unable to get session.getObjectByPath("/dir1/dir2") and the same exception is thrown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Aug 2014 11:38:00 GMT</pubDate>
    <dc:creator>narayana_giri</dc:creator>
    <dc:date>2014-08-21T11:38:00Z</dc:date>
    <item>
      <title>session.getObjectByPath() for sub dir</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295920#M249050</link>
      <description>Hi,Requirement is to upload attachment in the sub dir so using the below syntax:AlfrescoFolder folder1 = (AlfrescoFolder) session.getObjectByPath("/dir1/dir2");But getting the exception as below:Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException:</description>
      <pubDate>Wed, 20 Aug 2014 14:12:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295920#M249050</guid>
      <dc:creator>narayana_giri</dc:creator>
      <dc:date>2014-08-20T14:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: session.getObjectByPath() for sub dir</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295921#M249051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just using &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; session.getObjectByPath("/dir1/dir2");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;&amp;nbsp; will be ok ,make sure /dir1 is under root folder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 06:00:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295921#M249051</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-08-21T06:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: session.getObjectByPath() for sub dir</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295922#M249052</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;Thanks for the info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dir1 is created under Company Home. Here is the directory structure:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Company Home &amp;gt; dir1&amp;gt; dir2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But still unable to get session.getObjectByPath("/dir1/dir2") and the same exception is thrown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 11:38:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295922#M249052</guid>
      <dc:creator>narayana_giri</dc:creator>
      <dc:date>2014-08-21T11:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: session.getObjectByPath() for sub dir</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295923#M249053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please login to explorer as admin ,and open the admin console, and then click node browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Choose "workspace://SpacesStore" store,and browse to Company Home &amp;gt; dir1&amp;gt; dir2,Please check if both uri of dir1 and dir2 are &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;{&lt;A href="http://www.alfresco.org/model/content/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0&lt;/A&gt;}&lt;SPAN class="line-numbers-rows"&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, 21 Aug 2014 14:01:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295923#M249053</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-08-21T14:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: session.getObjectByPath() for sub dir</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295924#M249054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please see the attached file that has URI of both directories.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both uri of directory1 and directory2 have same URI as {&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0&lt;/A&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 15:38:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295924#M249054</guid>
      <dc:creator>narayana_giri</dc:creator>
      <dc:date>2014-08-21T15:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: session.getObjectByPath() for sub dir</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295925#M249055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your object path is &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/Directory1//Directory2&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; ,not &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/dir1/dir2&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;session.getObjectByPath("/Directory1/Directory2")&lt;SPAN class="line-numbers-rows"&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, 22 Aug 2014 01:17:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295925#M249055</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-08-22T01:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: session.getObjectByPath() for sub dir</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295926#M249056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your object path is &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/Directory1//Directory2&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; ,not &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/dir1/dir2&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;session.getObjectByPath("/Directory1/Directory2")&lt;SPAN class="line-numbers-rows"&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, 22 Aug 2014 01:18:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/session-getobjectbypath-for-sub-dir/m-p/295926#M249056</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-08-22T01:18:00Z</dc:date>
    </item>
  </channel>
</rss>

