10-08-2013 11:10 AM
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:alf="http://www.alfresco.org" >
<author><name>admin</name></author>
<summary>Presentation.</summary>
<title>monDocument.pdf</title>
<cmisra:object>
<cmis:properties>
<cmis:propertyId propertyDefinitionId="cmis:objectTypeId"><cmis:value>cmis:document</cmis:value></cmis:propertyId>
</cmis:properties>
</cmisra:object>
</entry>
curl -X POST -uadmin:test "http://localhost:8080/alfresco/s/cmis/p/Sites/epnum/documentLibrary/Folder/children" -H "Content-Type:application/atom+xml" -d @createContent.xml
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:alf="http://www.alfresco.org" >
<author><name>admin</name></author>
<summary>Presentation.</summary>
<title>monDocument.pdf</title>
<cmisra:object>
<cmis:properties>
<cmis:propertyId propertyDefinitionId="cmis:objectTypeId"><cmis:value>cmis:document</cmis:value></cmis:propertyId>
<cmis:propertyInteger propertyDefinitionId="cmis:contentStreamLength" displayName="Content Stream Length" queryName="cmis:contentStreamLength"><cmis:value>98495335</cmis:value></cmis:propertyInteger>
<cmis:propertyString propertyDefinitionId="cm:title" displayName="Titre" queryName="cm:title"><cmis:value>Mon titre</cmis:value></cmis:propertyString>
</cmis:properties>
</cmisra:object>
</entry>
10-08-2013 11:19 PM
10-09-2013 11:13 AM
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:alf="http://www.alfresco.org" >
<author><name>admin</name></author>
<summary>Presentation.</summary>
<title>monDocument.pdf</title>
<cmisra:object>
<cmis:properties>
<cmis:propertyId propertyDefinitionId="cmis:objectTypeId"><cmis:value>cmis:document</cmis:value></cmis:propertyId>
<alf:setAspects>
<alf:aspectsToAdd>P:cm:titled</alf:aspectsToAdd>
<alf:properties>
<cmis:propertyString propertyDefinitionId="cm:title"><cmis:value>MYTITLE</cmis:value></cmis:propertyString>
</alf:properties>
</alf:setAspects>
</cmis:properties>
</cmisra:object>
</entry>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.