<?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 Upload file to alfresco using java spring boot in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89177#M26728</link>
    <description>&lt;P&gt;Hi, I'm new to Alfresco. I have a simple report generation using jasper and that document(pdf) is currently save to "public" folder in my project. My task is to save my report to alfresco document manager.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm using alfresco 6.1.&lt;BR /&gt;&lt;BR /&gt;Can someone please guide me on this. I read several blogs and i dont have a clear idea on how to do above task.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2019 10:22:38 GMT</pubDate>
    <dc:creator>Dushan</dc:creator>
    <dc:date>2019-09-24T10:22:38Z</dc:date>
    <item>
      <title>Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89177#M26728</link>
      <description>&lt;P&gt;Hi, I'm new to Alfresco. I have a simple report generation using jasper and that document(pdf) is currently save to "public" folder in my project. My task is to save my report to alfresco document manager.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm using alfresco 6.1.&lt;BR /&gt;&lt;BR /&gt;Can someone please guide me on this. I read several blogs and i dont have a clear idea on how to do above task.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 10:22:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89177#M26728</guid>
      <dc:creator>Dushan</dc:creator>
      <dc:date>2019-09-24T10:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89178#M26729</link>
      <description>&lt;P&gt;Hope this helps:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/aborroy/cmis-associations-alfresco" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/aborroy/cmis-associations-alfresco&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This project is creating associations, but it can be used as template for your requirement.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 10:34:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89178#M26729</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-09-24T10:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89179#M26730</link>
      <description>&lt;P&gt;thanks a lot for the reply. I'll go though that.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you provide a simple guidline to upload a file to alfresco using java. My alfresco version is 6.1.&lt;BR /&gt;I tried several blogs. But i can find CMIS in alfresco 6.1. Some have mentioned that it will start with alfresco and i'm not getting a clear idea.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you give a clear guidance on how to upload a file using alfresco 6.1 in java.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 10:45:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89179#M26730</guid>
      <dc:creator>Dushan</dc:creator>
      <dc:date>2019-09-24T10:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89180#M26731</link>
      <description>&lt;P&gt;Take a look at&lt;/P&gt;
&lt;P&gt;&lt;A href="https://ecmarchitect.com/archives/2013/08/26/3528" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ecmarchitect.com/archives/2013/08/26/3528&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 10:47:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89180#M26731</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-09-24T10:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89181#M26732</link>
      <description>&lt;P&gt;thanks a lot for replying so quicky. Much appreciated. I'll go through that document and let you know.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 10:51:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89181#M26732</guid>
      <dc:creator>Dushan</dc:creator>
      <dc:date>2019-09-24T10:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89182#M26733</link>
      <description>&lt;P&gt;You can use the following OOTB APIs in order to upload a document from your java application to Alfresco.&lt;/P&gt;&lt;P&gt;1. Authentication - http://localhost:8080/alfresco/api/s/login&lt;/P&gt;&lt;P&gt;2. Upload document -&amp;nbsp;http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/{nodeId}/children&lt;/P&gt;&lt;P&gt;You will need to pass the authentication ticket in upload document API.&lt;/P&gt;&lt;P&gt;Please refer the following link for the response and body required to pass:&lt;/P&gt;&lt;P&gt;&lt;A href="https://api-explorer.alfresco.com/api-explorer/#/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api-explorer.alfresco.com/api-explorer/#/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kintu&lt;/P&gt;&lt;P&gt;&lt;A title="ContCentric" href="http://www.contcentric.com" target="_blank" rel="noopener nofollow noreferrer"&gt;ContCentric&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 11:26:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89182#M26733</guid>
      <dc:creator>kintu_barot</dc:creator>
      <dc:date>2019-09-24T11:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89183#M26734</link>
      <description>&lt;P&gt;In the document you provided, when we grab the session,&amp;nbsp; we provide username, password,&amp;nbsp;ATOMPUB_URL. In here what is username ? is this the admin of my alfresco user or any user in alfresco ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;And what should i provide for&amp;nbsp;ATOMPUB_URL ? In a stack overflow asnwer i saw a url like this&amp;nbsp; &amp;gt;&lt;BR /&gt;&lt;BR /&gt;"&lt;A href="http://127.0.0.1:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom" target="_blank" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;What should i use for atompub_url with alfresco 6.1 ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 12:06:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89183#M26734</guid>
      <dc:creator>Dushan</dc:creator>
      <dc:date>2019-09-24T12:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89184#M26735</link>
      <description>&lt;P&gt;i'll go through this and let you know. Thank you for replying to me.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 12:08:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89184#M26735</guid>
      <dc:creator>Dushan</dc:creator>
      <dc:date>2019-09-24T12:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89185#M26736</link>
      <description>&lt;P&gt;hi, I tried to authenticate it by typing this url &amp;gt;&lt;BR /&gt;"&lt;SPAN&gt;http://localhost:8080/alfresco/api/s/login?u=myUSER&amp;amp;pw=myPW"&lt;BR /&gt;&lt;BR /&gt;And i am not getting a token. I only get a blank response body. It has nothing in it. Btw i provided my admin username and password.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 12:21:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89185#M26736</guid>
      <dc:creator>Dushan</dc:creator>
      <dc:date>2019-09-24T12:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89186#M26737</link>
      <description>&lt;P&gt;Answering your question about the CMIS URL, yes, what you found is the correct CMIS service URL. Yes, just use any username and password that has access to the folder in Alfresco you are trying to write to.&lt;/P&gt;
&lt;P&gt;CMIS will be easier to use than the Alfresco REST API for this, in my opinion, but either one can be used.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 18:00:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89186#M26737</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2019-09-26T18:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89187#M26738</link>
      <description>&lt;P&gt;I'm a bit surprised almost all replies propose an upload through CMIS here. (Only&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/70191"&gt;@jpotts&lt;/A&gt;&amp;nbsp;shortly mentions the possibility to use the REST API.)&lt;/P&gt;&lt;P&gt;Isn't Alfresco promoting the public REST API as primary integration point?&lt;/P&gt;&lt;P&gt;For reference: Alfresco's REST API which could also be used to perform the upload of your document:&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://api-explorer.alfresco.com/api-explorer/#/nodes" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api-explorer.alfresco.com/api-explorer/#/nodes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 14:32:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89187#M26738</guid>
      <dc:creator>kerkhofsd</dc:creator>
      <dc:date>2019-09-27T14:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file to alfresco using java spring boot</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89188#M26739</link>
      <description>&lt;P&gt;I suspect the replies propose using CMIS because it is easier in this case. You are already in Java. OpenCMIS gives you a nice library to work with Java objects. Why go to the trouble of using the REST API? Plus, the OP wants to create documents, which is right in the CMIS wheelhouse.&lt;/P&gt;
&lt;P&gt;Alfresco is promoting the use of the REST API primarily from remote, non-Java clients, such as a JavaScript front-end.&lt;/P&gt;
&lt;P&gt;Either way you choose it doesn't matter--the nice thing is that developer's have options. Use what comes natural for you and the project.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 16:20:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/upload-file-to-alfresco-using-java-spring-boot/m-p/89188#M26739</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2019-09-27T16:20:27Z</dc:date>
    </item>
  </channel>
</rss>

