<?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 CMIS service example to create a document in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmis-service-example-to-create-a-document/m-p/302948#M256078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am very new to Alfresco and as part of our project requirement we need CMIS service for creating a document in JSON and not in atompub. I have an example for CMIS service for creating a document in atompub. Here is the link for the example. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blog.mwrobel.eu/uploading-big-file-alfresco-web-services/" rel="nofollow noopener noreferrer"&gt;http://blog.mwrobel.eu/uploading-big-file-alfresco-web-services/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If someone can help me having the some example of CMIS service for this in JSON format. Also it will be very helpful if its known which is better if we have files of 8MB or more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2014 21:27:54 GMT</pubDate>
    <dc:creator>everbehere</dc:creator>
    <dc:date>2014-02-18T21:27:54Z</dc:date>
    <item>
      <title>CMIS service example to create a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-service-example-to-create-a-document/m-p/302948#M256078</link>
      <description>I am very new to Alfresco and as part of our project requirement we need CMIS service for creating a document in JSON and not in atompub. I have an example for CMIS service for creating a document in atompub. Here is the link for the example. http://blog.mwrobel.eu/uploading-big-file-alfresco-web-se</description>
      <pubDate>Tue, 18 Feb 2014 21:27:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-service-example-to-create-a-document/m-p/302948#M256078</guid>
      <dc:creator>everbehere</dc:creator>
      <dc:date>2014-02-18T21:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS service example to create a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-service-example-to-create-a-document/m-p/302949#M256079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why not just use open cmis api ? Using open cmis api you don't need to care aboud binding details .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 03:25:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-service-example-to-create-a-document/m-p/302949#M256079</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-02-19T03:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS service example to create a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-service-example-to-create-a-document/m-p/302950#M256080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In our Project there is a requirement that instead of making a call to JAVA APIs they want to make a call to RESTful APIs. That is the reason I am looking for something for an example for CMIS service for creating a document in JSON&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 16:36:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-service-example-to-create-a-document/m-p/302950#M256080</guid>
      <dc:creator>everbehere</dc:creator>
      <dc:date>2014-02-19T16:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS service example to create a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-service-example-to-create-a-document/m-p/302951#M256081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;CMIS&amp;nbsp; Browser binding is used by&amp;nbsp; a browser client to interact with cmis repository using html form to perform operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So all you have to do is create send a html multipart form-data request to browser binding url.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example if you want to create a document with content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;form &lt;BR /&gt;&amp;nbsp; // action link depends on which operation wish to perform&lt;BR /&gt;&amp;nbsp; action="&lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/folder1/object" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/folder1/object&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp; method="POST"&lt;BR /&gt;&amp;nbsp; enctype="multipart/form-data"&amp;gt;&lt;BR /&gt; &amp;lt;input name="cmisaction" type="hidden" value="createDocument" /&amp;gt;&lt;BR /&gt;&amp;nbsp; // for each cmis object type property, create 2 corresponding input texts field mapped to that properties value&lt;BR /&gt; &amp;lt;input name="propertyId[0]" type="hidden" value="cmis:name" /&amp;gt;&lt;BR /&gt; &amp;lt;input name="propertyValue[0]" type="text" value="my document" /&amp;gt;&lt;BR /&gt; &amp;lt;input name="propertyId[1]" type="hidden" value="cmis:objectTypeId" /&amp;gt;&lt;BR /&gt; &amp;lt;input name="propertyValue[1]" type="hidden" value="my:firstObjectType" /&amp;gt;&lt;BR /&gt; &amp;lt;input name="propertyId[2]" type="hidden" value="my:intProperty" /&amp;gt;&lt;BR /&gt; &amp;lt;input name="propertyValue[2]" type="text" value="42" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // for content stream&lt;BR /&gt;&amp;nbsp; &amp;lt;input name="content" type="file" /&amp;gt;&lt;BR /&gt;&amp;lt;/form&amp;gt;&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 03:10:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-service-example-to-create-a-document/m-p/302951#M256081</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-02-20T03:10:24Z</dc:date>
    </item>
  </channel>
</rss>

