AnsweredAssumed Answered

I want to update properties with CMIS using Atompub, but how can I do this?

Question asked by disruptivenl on Jun 1, 2019

Hi,

 

I am using CMIS (1.1) and I want to update properties. How can I do this? The below version does not work....

 

http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom/children?id=a0a64f47-7abd-4397-bd29-f94194b3a224

 

<?xml version="1.0" encoding="UTF-8"?>
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/">
<cmisra:object xmlns:ns3="http://docs.oasis-open.org/ns/cmis/messaging/200908/">
<cmis:properties>
<!--<cmis:propertyId localName="cmis:repositoryId" propertyDefinitionId="cmis:repositoryId">
<cmis:value>e71b7d23-632a-42e0-becd-132815a3ebb4</cmis:value>
</cmis:propertyId>-->
<!--<cmis:propertyId localName="cmis:objectId" propertyDefinitionId="cmis:objectId">
<cmis:value>414e3d52-eca7-4f08-9921-4b37341b9df6;1.0</cmis:value>
</cmis:propertyId>-->
<cmis:propertyString localName="cmis:name" propertyDefinitionId="cmis:name">
<cmis:value>SampleDocument9</cmis:value>
</cmis:propertyString>
<cmis:propertyId localName="cmis:objectTypeId" propertyDefinitionId="cmis:objectTypeId">
<cmis:value>D:test:FLD</cmis:value>
</cmis:propertyId>
<cmis:propertyString localName="test:gegeven" propertyDefinitionId="test:gegeven">
<cmis:value>B-BLA-B</cmis:value>
</cmis:propertyString>
</cmis:properties>
</cmisra:object>
</atom:entry>

 

The URL with children does not seem to handle the update POST like it should?

There are 6 urls for collections:

And I thought I will use the update, but then I get some missing Bulk Data messages....

 

Who has some thought?

With SOAP I can use all the operations... but there Bulk Update Properties is not there and it seems to be CMIS 1.0?

 

Thanks in advance.

Outcomes