<?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 Create Folder hierarchy using Alfresco REST API only in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/create-folder-hierarchy-using-alfresco-rest-api-only/m-p/146404#M38772</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have requirement of Creating folder hierarchy using REST API. I am able to create single single folder using following call:-&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;http://localhost:8080/alfresco/service/api/site/folder/Test/documentLibrary/Test 1&lt;/PRE&gt;&lt;P&gt;i want my folder hierarchy as follows:-&lt;/P&gt;&lt;P&gt;Site:- Test Container:- documentLibrary folder hierarchy as :- Test 1/Test 2/Test 3/Test 4.&lt;/P&gt;&lt;P&gt;i am able to acheive it by running it again and again but want it in one go.&lt;/P&gt;&lt;P&gt;Also like i am able to create folders using content create API by providing relative path by using below call:-&lt;/P&gt;&lt;PRE&gt;http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children


relativepath as:- test/documentLibrary/test1/test2/test3/test4
also by providing filedata and nodetype. 
but i want only folder hierarchy without content.&lt;/PRE&gt;&lt;P&gt;can i create folder hierarchy anyway by using relative path?&lt;/P&gt;&lt;P&gt;Please do guide me out on this.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Piyush.&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 06:54:48 GMT</pubDate>
    <dc:creator>piyush48</dc:creator>
    <dc:date>2021-05-14T06:54:48Z</dc:date>
    <item>
      <title>Create Folder hierarchy using Alfresco REST API only</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-folder-hierarchy-using-alfresco-rest-api-only/m-p/146404#M38772</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have requirement of Creating folder hierarchy using REST API. I am able to create single single folder using following call:-&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;http://localhost:8080/alfresco/service/api/site/folder/Test/documentLibrary/Test 1&lt;/PRE&gt;&lt;P&gt;i want my folder hierarchy as follows:-&lt;/P&gt;&lt;P&gt;Site:- Test Container:- documentLibrary folder hierarchy as :- Test 1/Test 2/Test 3/Test 4.&lt;/P&gt;&lt;P&gt;i am able to acheive it by running it again and again but want it in one go.&lt;/P&gt;&lt;P&gt;Also like i am able to create folders using content create API by providing relative path by using below call:-&lt;/P&gt;&lt;PRE&gt;http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children


relativepath as:- test/documentLibrary/test1/test2/test3/test4
also by providing filedata and nodetype. 
but i want only folder hierarchy without content.&lt;/PRE&gt;&lt;P&gt;can i create folder hierarchy anyway by using relative path?&lt;/P&gt;&lt;P&gt;Please do guide me out on this.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Piyush.&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 06:54:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-folder-hierarchy-using-alfresco-rest-api-only/m-p/146404#M38772</guid>
      <dc:creator>piyush48</dc:creator>
      <dc:date>2021-05-14T06:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create Folder hierarchy using Alfresco REST API only</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-folder-hierarchy-using-alfresco-rest-api-only/m-p/146405#M38773</link>
      <description>&lt;P&gt;There is no way to create a hierarchy in just one call. You have to call it multiple times.&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 11:59:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-folder-hierarchy-using-alfresco-rest-api-only/m-p/146405#M38773</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-05-14T11:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create Folder hierarchy using Alfresco REST API only</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-folder-hierarchy-using-alfresco-rest-api-only/m-p/146406#M38774</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Is there anyway such task can be acheive through CMIS API call?.&lt;/P&gt;&lt;P&gt;Any other way possible for this without using Alfresco API services ? cause i am creating standalone java application for it.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Piyush.&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 12:40:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-folder-hierarchy-using-alfresco-rest-api-only/m-p/146406#M38774</guid>
      <dc:creator>piyush48</dc:creator>
      <dc:date>2021-05-14T12:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create Folder hierarchy using Alfresco REST API only</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-folder-hierarchy-using-alfresco-rest-api-only/m-p/146407#M38775</link>
      <description>&lt;P&gt;No - AFAIK there are no standard APIs that you can use to create an entire path in one call. You would have to create a custom web script / action for that. The latter could be &lt;A href="https://api-explorer.alfresco.com/api-explorer/#/actions/actionExec" target="_self" rel="nofollow noopener noreferrer"&gt;triggered via Alfresco ReST API&lt;/A&gt; as far as I know (I have never done / tried that myself).&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 13:13:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-folder-hierarchy-using-alfresco-rest-api-only/m-p/146407#M38775</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-05-14T13:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create Folder hierarchy using Alfresco REST API only</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-folder-hierarchy-using-alfresco-rest-api-only/m-p/146408#M38776</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understand correctly the question, i think it is now possible.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;The Api explorer doc says&amp;nbsp; :&lt;BR /&gt;&lt;BR /&gt;"&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;relativePath&amp;nbsp;specifies the folder structure to create relative to the node&amp;nbsp;nodeId&lt;SPAN&gt;. &lt;STRONG&gt;Folders in the&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;relativePath&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;that do not exist are created before the node is created&lt;/STRONG&gt;."&lt;BR /&gt;&lt;BR /&gt;I have tried this and the folders are all well created in one call....&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 14:22:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-folder-hierarchy-using-alfresco-rest-api-only/m-p/146408#M38776</guid>
      <dc:creator>plarochette</dc:creator>
      <dc:date>2022-04-01T14:22:48Z</dc:date>
    </item>
  </channel>
</rss>

