As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<form // action link depends on which operation wish to perform action="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/folder1/object" method="POST" enctype="multipart/form-data"> <input name="cmisaction" type="hidden" value="createDocument" /> // for each cmis object type property, create 2 corresponding input texts field mapped to that properties value <input name="propertyId[0]" type="hidden" value="cmis:name" /> <input name="propertyValue[0]" type="text" value="my document" /> <input name="propertyId[1]" type="hidden" value="cmis:objectTypeId" /> <input name="propertyValue[1]" type="hidden" value="my:firstObjectType" /> <input name="propertyId[2]" type="hidden" value="my:intProperty" /> <input name="propertyValue[2]" type="text" value="42" /> // for content stream <input name="content" type="file" /> </form>