AnsweredAssumed Answered

Cannot set properties using createDocument??

Question asked by syberyan on Jul 13, 2010
Latest reply on Jul 5, 2012 by jpotts
I am currently trying to upgrade our cmis client application from Alfresco 3.2 community to 3.3g.

But no matter what I try, createDocument won't set my custom properties. (Which worked fine in 3.2)
(createFolder does set them …)

This is what I post to a children uri:

    <entry xmlns="">
        <title type="text">image1.jpg</title>
        <summary type="text">my summary</summary>
        <object xmlns="">
            <properties xmlns="">
                <propertyString propertyDefinitionId="cmis:objectTypeId">
                <propertyString propertyDefinitionId="mymodel:prop">
                    <value>a value</value>

The entry that is returned has no value for 'mymodel:prop' . Also the summary isn't set. This can also be reproduced with the default cmis:document type:


<entry xmlns=\"\">
<summary>a summary</summary>"
<object xmlns="">"
<properties xmlns="">"
  <propertyString propertyDefinitionId="cmis:objectTypeId">"


<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="" xmlns:app="" xmlns:cmisra="" xmlns:cmis="" xmlns:alf="">



Am I doing something wrong here or is this really a bug?
(would be weird that nobody has filed this before)