<?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: upload content from jsf project to alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/upload-content-from-jsf-project-to-alfresco/m-p/221589#M174719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for reply&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i see these but please give me a complete example from these addresses that i can use them&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Jul 2010 08:49:49 GMT</pubDate>
    <dc:creator>azade</dc:creator>
    <dc:date>2010-07-11T08:49:49Z</dc:date>
    <item>
      <title>upload content from jsf project to alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upload-content-from-jsf-project-to-alfresco/m-p/221587#M174717</link>
      <description>hii want to upload file from my seam page directly to alfresco but i dont know what have to do i work with communityalfresco3.3and change datebase to postgres i want alfresco to customize that use in part of mu big project but i dont know relation between themplease help me</description>
      <pubDate>Wed, 07 Jul 2010 08:26:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upload-content-from-jsf-project-to-alfresco/m-p/221587#M174717</guid>
      <dc:creator>azade</dc:creator>
      <dc:date>2010-07-07T08:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: upload content from jsf project to alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upload-content-from-jsf-project-to-alfresco/m-p/221588#M174718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use the REST API of Alfresco using one of the WebScripts exposed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can find more information about WebScripts here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can follow two ways to upload a file into the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can only to execute a POST HTTP in this way to upload a file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;File Upload&lt;BR /&gt;POST /alfresco/service/api/upload&lt;BR /&gt;—&lt;BR /&gt;Upload file content and meta-data into repository. &lt;BR /&gt;HTML form data&lt;BR /&gt;filedata, (mandatory) HTML type file&lt;BR /&gt;siteid&lt;BR /&gt;containerid&lt;BR /&gt;uploaddirectory&lt;BR /&gt;updatenoderef&lt;BR /&gt;filename&lt;BR /&gt;description&lt;BR /&gt;contenttype&lt;BR /&gt;majorversion&lt;BR /&gt;overwrite&lt;BR /&gt;thumbnails&lt;BR /&gt;&lt;BR /&gt;Return content&lt;BR /&gt;nodeRef&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;SPAN&gt;Or you can use 2 separate calls: one to create the node and another to create the content for the node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the first call to execute to create the node:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Create folder or document (createDocument, createFolder)&lt;BR /&gt;POST /alfresco/service/api/node/{store_type}/{store_id}/{id}/children&lt;BR /&gt;POST /alfresco/service/api/path/{store_type}/{store_id}/{id}/children&lt;BR /&gt;—&lt;BR /&gt;Creates a document object of the specified type, and optionally adds the document to a folder&lt;BR /&gt;&lt;BR /&gt;Inputs:&lt;BR /&gt;&lt;BR /&gt;ID typeId: Document type&lt;BR /&gt;Collection properties&lt;BR /&gt;(Optional) ID folderId: Parent folder for this new document&lt;BR /&gt;(Optional) ContentStream contentStream&lt;BR /&gt;(Optional) Enum versioningState: CheckedOut, CheckedInMinor, CheckedInMajor (Default)&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;SPAN&gt;This is the second call to upload using a PUT HTTP the stream of the file into the new node:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Content Write (setContent)&lt;BR /&gt;PUT /alfresco/service/api/node/content{property}/{store_type}/{store_id}/{id}?overwriteFlag={overwriteFlag?}&lt;BR /&gt;PUT /alfresco/service/api/path/content{property}/{store_type}/{store_id}/{id}?overwriteFlag={overwriteFlag?}&lt;BR /&gt;PUT /alfresco/service/api/avmpath/content{property}/{store_id}/{id}?overwriteFlag={overwriteFlag?}&lt;BR /&gt;PUT /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}?overwriteFlag={overwriteFlag?}&lt;BR /&gt;PUT /alfresco/service/api/path/{store_type}/{store_id}/{id}/content{property}?overwriteFlag={overwriteFlag?}&lt;BR /&gt;—&lt;BR /&gt;TODO&lt;BR /&gt;—&lt;BR /&gt;Authentication:&amp;nbsp;&amp;nbsp;&amp;nbsp;guest&lt;BR /&gt;Transaction:&amp;nbsp;&amp;nbsp;&amp;nbsp;required&lt;BR /&gt;Format Style:&amp;nbsp;&amp;nbsp;&amp;nbsp;argument&lt;BR /&gt;Default Format:&amp;nbsp;&amp;nbsp;&amp;nbsp;text&lt;BR /&gt;Lifecycle:&amp;nbsp;&amp;nbsp;&amp;nbsp;draft_public_api&lt;BR /&gt;Id:&amp;nbsp;&amp;nbsp;&amp;nbsp;org/alfresco/repository/store/content.put&lt;BR /&gt;Descriptor:&amp;nbsp;&amp;nbsp;&amp;nbsp;classpath:alfresco/templates/webscripts/org/alfresco/repository/store/content.put.desc.xml&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;SPAN&gt;I have copied all this snippet from the WebScript servlet that you can find here in your Alfresco installation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/service/index/all" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/index/all&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 10:57:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upload-content-from-jsf-project-to-alfresco/m-p/221588#M174718</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2010-07-08T10:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: upload content from jsf project to alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upload-content-from-jsf-project-to-alfresco/m-p/221589#M174719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for reply&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i see these but please give me a complete example from these addresses that i can use them&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jul 2010 08:49:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upload-content-from-jsf-project-to-alfresco/m-p/221589#M174719</guid>
      <dc:creator>azade</dc:creator>
      <dc:date>2010-07-11T08:49:49Z</dc:date>
    </item>
  </channel>
</rss>

